Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.209/2.209, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 198 kB / 499.1 MB, free: 4.707 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001073, allocations: 109.4 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001165, allocations: 51.09 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3182, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00308/0.3214, allocations: 1.346 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1355/0.4569, allocations: 144.7 MB / 1.361 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.457, allocations: 4 kB / 1.361 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.4571, allocations: 0 / 1.361 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.536e-05/0.4572, allocations: 11.91 kB / 1.361 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.4577, allocations: 75.7 kB / 1.361 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.188e-05/0.4578, allocations: 27.92 kB / 1.361 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.4579, allocations: 4 kB / 1.361 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.4579, allocations: 23.84 kB / 1.361 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.458, allocations: 15.92 kB / 1.361 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.458, allocations: 4 kB / 1.361 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.4583, allocations: 75.83 kB / 1.361 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.4584, allocations: 7.984 kB / 1.361 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.4584, allocations: 15.94 kB / 1.361 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.4586, allocations: 69.97 kB / 1.361 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4586, allocations: 0 / 1.361 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4586, allocations: 0 / 1.361 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.4587, allocations: 0 / 1.361 GB, free: 2.359 MB / 0.8542 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.000475/0.4591, allocations: 351.5 kB / 1.361 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4592, allocations: 15.98 kB / 1.361 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.4594, allocations: 16.92 kB / 1.361 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.4596, allocations: 164.4 kB / 1.362 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.4596, allocations: 7.938 kB / 1.362 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.4596, allocations: 4 kB / 1.362 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.4598, allocations: 61.55 kB / 1.362 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.4598, allocations: 0 / 1.362 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.4598, allocations: 0 / 1.362 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4598, allocations: 0 / 1.362 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.572e-05/0.4599, allocations: 19.98 kB / 1.362 GB, free: 1.641 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.4601, allocations: 169.5 kB / 1.362 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.725e-05/0.4602, allocations: 50.56 kB / 1.362 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.4603, allocations: 12.84 kB / 1.362 GB, free: 1.352 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.4603, allocations: 7.938 kB / 1.362 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.4603, allocations: 34.56 kB / 1.362 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.4603, allocations: 4 kB / 1.362 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0008201/0.4611, allocations: 366.3 kB / 1.362 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.4612, allocations: 55.39 kB / 1.362 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.4613, allocations: 93.86 kB / 1.362 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.4613, allocations: 29.7 kB / 1.362 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.4613, allocations: 80.14 kB / 1.362 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.4614, allocations: 43.52 kB / 1.363 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.4615, allocations: 29.72 kB / 1.363 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4616, allocations: 326.8 kB / 1.363 GB, free: 200 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.4616, allocations: 12 kB / 1.363 GB, free: 188 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.388e-05/0.4617, allocations: 41.64 kB / 1.363 GB, free: 140 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.166e-05/0.4618, allocations: 61.69 kB / 1.363 GB, free: 72 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4618, allocations: 0 / 1.363 GB, free: 72 kB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001616/0.462, allocations: 102.1 kB / 1.363 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.462, allocations: 4 kB / 1.363 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.462, allocations: 0 / 1.363 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.462, allocations: 0 / 1.363 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.4622, allocations: 27.98 kB / 1.363 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.4622, allocations: 4 kB / 1.363 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.4622, allocations: 4 kB / 1.363 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.4622, allocations: 0 / 1.363 GB, free: 15.93 MB / 0.8698 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 (14): * Single equations (assignments): 14 * 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 0.000109/0.4623, allocations: 122.4 kB / 1.363 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.4624, allocations: 15.84 kB / 1.363 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.4624, allocations: 15.95 kB / 1.363 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4624, allocations: 0 / 1.363 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4624, allocations: 0 / 1.363 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4624, allocations: 0 / 1.363 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.4626, allocations: 177.6 kB / 1.363 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4626, allocations: 0 / 1.363 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.4628, allocations: 20 kB / 1.363 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4628, allocations: 0 / 1.363 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4628, allocations: 4 kB / 1.363 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.4628, allocations: 3.938 kB / 1.363 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4628, allocations: 7.984 kB / 1.363 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.464, allocations: 1.099 MB / 1.365 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.4641, allocations: 89.05 kB / 1.365 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.4641, allocations: 3.938 kB / 1.365 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.4642, allocations: 7.938 kB / 1.365 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.4642, allocations: 7.984 kB / 1.365 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.4642, allocations: 4 kB / 1.365 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.4643, allocations: 79.28 kB / 1.365 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4643, allocations: 0 / 1.365 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002676/0.4646, allocations: 16 kB / 1.365 GB, free: 14.04 MB / 0.8698 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 () * Number of clocked 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 (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.0001176/0.4647, allocations: 103.3 kB / 1.365 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.4648, allocations: 60.12 kB / 1.365 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4648, allocations: 0 / 1.365 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.4649, allocations: 31.92 kB / 1.365 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.4651, allocations: 8.938 kB / 1.365 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.4658, allocations: 473.5 kB / 1.365 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.4661, allocations: 0.6926 MB / 1.366 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.171e-05/0.4661, allocations: 16.64 kB / 1.366 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.4662, allocations: 15.44 kB / 1.366 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of SimCode: time 2e-07/0.4662, allocations: 0 / 1.366 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of Templates: time 0.002651/0.4688, allocations: 0.6541 MB / 1.367 GB, free: 11.93 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)