Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 167.2 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007641/0.0007639, allocations: 88.23 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003279, allocations: 12.66 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1933, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006487/0.194, allocations: 274.4 kB / 0.897 GB, free: 67.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005034/0.1945, allocations: 199.4 kB / 0.8972 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.1945, allocations: 0 / 0.8972 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.1946, allocations: 3.938 kB / 0.8972 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.1946, allocations: 4 kB / 0.8972 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.195, allocations: 52.61 kB / 0.8972 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.803e-05/0.195, allocations: 8 kB / 0.8973 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.1951, allocations: 3.984 kB / 0.8973 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.359e-05/0.1951, allocations: 8 kB / 0.8973 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.1952, allocations: 11.92 kB / 0.8973 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1952, allocations: 0 / 0.8973 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.1954, allocations: 123.8 kB / 0.8974 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.1955, allocations: 4 kB / 0.8974 GB, free: 67.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.1955, allocations: 11.92 kB / 0.8974 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.1956, allocations: 35.94 kB / 0.8974 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1956, allocations: 4 kB / 0.8974 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1957, allocations: 4 kB / 0.8974 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.1957, allocations: 0 / 0.8974 GB, free: 67.46 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002813/0.196, allocations: 335.7 kB / 0.8978 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.196, allocations: 8.031 kB / 0.8978 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.196, allocations: 8.844 kB / 0.8978 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.264e-05/0.1961, allocations: 168.4 kB / 0.8979 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1962, allocations: 384 / 0.8979 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.1962, allocations: 4.375 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.842e-05/0.1963, allocations: 30.27 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1963, allocations: 8.125 kB / 0.898 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1963, allocations: 11.94 kB / 0.898 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1963, allocations: 0 / 0.898 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.703e-05/0.1964, allocations: 15.92 kB / 0.898 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.1965, allocations: 157.7 kB / 0.8982 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.935e-05/0.1966, allocations: 22.58 kB / 0.8982 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.1966, allocations: 12.91 kB / 0.8982 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.1967, allocations: 8 kB / 0.8982 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1967, allocations: 38.56 kB / 0.8982 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.1967, allocations: 0 / 0.8982 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005084/0.1972, allocations: 302.1 kB / 0.8985 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.1972, allocations: 51.41 kB / 0.8986 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.145e-05/0.1973, allocations: 114 kB / 0.8987 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.1973, allocations: 29.7 kB / 0.8987 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.1973, allocations: 88.08 kB / 0.8988 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.1974, allocations: 11.89 kB / 0.8988 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.1974, allocations: 13.72 kB / 0.8988 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.495e-05/0.1975, allocations: 310.8 kB / 0.8991 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.1975, allocations: 19.98 kB / 0.8991 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.477e-05/0.1975, allocations: 17.72 kB / 0.8992 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/0.1976, allocations: 49.64 kB / 0.8992 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1976, allocations: 0 / 0.8992 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.291e-05/0.1977, allocations: 69.53 kB / 0.8993 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1977, allocations: 7.938 kB / 0.8993 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1977, allocations: 0 / 0.8993 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1977, allocations: 0 / 0.8993 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.1978, allocations: 11.98 kB / 0.8993 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1978, allocations: 0 / 0.8993 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.1978, allocations: 8.062 kB / 0.8993 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.1978, allocations: 4 kB / 0.8993 GB, free: 65.28 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.1979, allocations: 109.8 kB / 0.8994 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.1979, allocations: 7.875 kB / 0.8994 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.198, allocations: 73.58 kB / 0.8995 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.198, allocations: 4 kB / 0.8995 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.198, allocations: 3.938 kB / 0.8995 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1981, allocations: 0 / 0.8995 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.923e-05/0.1981, allocations: 169.7 kB / 0.8997 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1981, allocations: 0 / 0.8997 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.1982, allocations: 4.188 kB / 0.8997 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1982, allocations: 3.938 kB / 0.8997 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1982, allocations: 4 kB / 0.8997 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1982, allocations: 0 / 0.8997 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1982, allocations: 7.969 kB / 0.8997 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.1984, allocations: 105 kB / 0.8998 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.1984, allocations: 81.2 kB / 0.8998 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.1984, allocations: 7.938 kB / 0.8999 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.007e-05/0.1985, allocations: 0 / 0.8999 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.1985, allocations: 0 / 0.8999 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1985, allocations: 7.984 kB / 0.8999 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.854e-05/0.1985, allocations: 87.28 kB / 0.8999 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1985, allocations: 0 / 0.8999 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002146/0.1988, allocations: 20 kB / 0.9 GB, free: 64.48 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000159/0.1989, allocations: 123.2 kB / 0.9001 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.982e-05/0.199, allocations: 35.92 kB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.199, allocations: 0 / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.676e-05/0.1991, allocations: 12 kB / 0.9001 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.1992, allocations: 4 kB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.1995, allocations: 160.9 kB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.1996, allocations: 0.6848 MB / 0.901 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.1996, allocations: 15.56 kB / 0.901 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1996, allocations: 3.938 kB / 0.901 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.002053/0.2017, allocations: 0.836 MB / 0.9018 GB, free: 62.55 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)