Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.532/1.532, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009662/0.0009662, allocations: 184.8 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.3 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007383/0.0007382, allocations: 91.69 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.294e-05/1.295e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5703/0.5703, allocations: 116.3 MB / 0.9732 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.718/10.29, allocations: 4.612 GB / 5.585 GB, free: 274.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/10.29, allocations: 84.98 kB / 5.585 GB, free: 274.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06275/10.35, allocations: 35.85 MB / 5.62 GB, free: 270.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/10.35, allocations: 0 / 5.62 GB, free: 270.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.532e-06/10.35, allocations: 0 / 5.62 GB, free: 270.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002908/10.35, allocations: 337.2 kB / 5.62 GB, free: 270.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/10.35, allocations: 11.81 kB / 5.62 GB, free: 270.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/10.35, allocations: 19.31 kB / 5.62 GB, free: 270.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/10.35, allocations: 159.1 kB / 5.62 GB, free: 270.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/10.35, allocations: 7.844 kB / 5.62 GB, free: 270.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/10.35, allocations: 3.688 kB / 5.62 GB, free: 270.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.272e-05/10.35, allocations: 23.17 kB / 5.62 GB, free: 270.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/10.35, allocations: 40.38 kB / 5.621 GB, free: 270.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/10.35, allocations: 3.953 kB / 5.621 GB, free: 270.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/10.35, allocations: 0 / 5.621 GB, free: 270.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/10.35, allocations: 7.906 kB / 5.621 GB, free: 270.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/10.35, allocations: 140.6 kB / 5.621 GB, free: 270 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.994e-05/10.35, allocations: 45.42 kB / 5.621 GB, free: 270 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/10.35, allocations: 16.36 kB / 5.621 GB, free: 270 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/10.35, allocations: 0 / 5.621 GB, free: 270 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/10.35, allocations: 38.11 kB / 5.621 GB, free: 270 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/10.35, allocations: 4 kB / 5.621 GB, free: 269.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0007033/10.35, allocations: 327.7 kB / 5.621 GB, free: 269.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/10.35, allocations: 55.31 kB / 5.621 GB, free: 269.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.795e-05/10.35, allocations: 85 kB / 5.621 GB, free: 269.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/10.35, allocations: 29.52 kB / 5.621 GB, free: 269.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/10.35, allocations: 84.08 kB / 5.621 GB, free: 269.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/10.35, allocations: 46.52 kB / 5.621 GB, free: 269.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/10.35, allocations: 3.938 kB / 5.621 GB, free: 269.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001015/10.35, allocations: 318 kB / 5.622 GB, free: 269.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/10.35, allocations: 15.44 kB / 5.622 GB, free: 269.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.188e-05/10.35, allocations: 31.16 kB / 5.622 GB, free: 269.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/10.35, allocations: 27.73 kB / 5.622 GB, free: 269.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/10.35, allocations: 0 / 5.622 GB, free: 269.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001056/10.35, allocations: 87.2 kB / 5.622 GB, free: 269 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/10.35, allocations: 7.969 kB / 5.622 GB, free: 269 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/10.35, allocations: 3.609 kB / 5.622 GB, free: 269 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/10.35, allocations: 0 / 5.622 GB, free: 269 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/10.35, allocations: 23.16 kB / 5.622 GB, free: 269 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/10.35, allocations: 3.953 kB / 5.622 GB, free: 269 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/10.35, allocations: 0 / 5.622 GB, free: 269 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/10.35, allocations: 3.906 kB / 5.622 GB, free: 269 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.608e-05/10.35, allocations: 112.8 kB / 5.622 GB, free: 268.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/10.35, allocations: 0 / 5.622 GB, free: 268.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/10.35, allocations: 16.12 kB / 5.622 GB, free: 268.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/10.35, allocations: 0 / 5.622 GB, free: 268.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/10.35, allocations: 0 / 5.622 GB, free: 268.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/10.35, allocations: 3.953 kB / 5.622 GB, free: 268.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/10.35, allocations: 148.1 kB / 5.622 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/10.35, allocations: 0 / 5.622 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/10.35, allocations: 19.41 kB / 5.622 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/10.35, allocations: 6.422 kB / 5.622 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/10.35, allocations: 0 / 5.622 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/10.35, allocations: 0 / 5.622 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/10.35, allocations: 3.812 kB / 5.622 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/10.35, allocations: 136.8 kB / 5.622 GB, free: 268.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/10.35, allocations: 77.11 kB / 5.622 GB, free: 268.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/10.35, allocations: 3.906 kB / 5.622 GB, free: 268.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/10.36, allocations: 3.797 kB / 5.622 GB, free: 268.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/10.36, allocations: 7.344 kB / 5.622 GB, free: 268.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/10.36, allocations: 11.7 kB / 5.622 GB, free: 268.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.034e-05/10.36, allocations: 79.28 kB / 5.622 GB, free: 268.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/10.36, allocations: 0 / 5.622 GB, free: 268.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000267/10.36, allocations: 41.34 kB / 5.622 GB, free: 268.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008488/10.36, allocations: 0.6469 MB / 5.623 GB, free: 268.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001215/10.36, allocations: 57.78 kB / 5.623 GB, free: 268.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/10.36, allocations: 0 / 5.623 GB, free: 268.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/10.36, allocations: 27.05 kB / 5.623 GB, free: 268.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/10.36, allocations: 9.828 kB / 5.623 GB, free: 268.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/10.36, allocations: 282.4 kB / 5.623 GB, free: 267.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/10.36, allocations: 0.6859 MB / 5.624 GB, free: 267.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.788e-05/10.36, allocations: 11.91 kB / 5.624 GB, free: 267.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/10.36, allocations: 11.25 kB / 5.624 GB, free: 267.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/10.36, allocations: 0 / 5.624 GB, free: 267.2 MB / 0.948 GB Notification: Performance of Templates: time 0.006581/10.36, allocations: 3.871 MB / 5.628 GB, free: 266.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)