Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009616/0.0009616, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007119/0.007119, allocations: 174.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 9.094 kB / 0.9158 GB, free: 33.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3175, allocations: 162.2 MB / 1.074 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001479/0.3191, allocations: 1.054 MB / 1.075 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1606/0.4797, allocations: 144.3 MB / 1.216 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.4798, allocations: 0 / 1.216 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.4798, allocations: 0 / 1.216 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.48, allocations: 15.91 kB / 1.216 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008662/0.4808, allocations: 302.8 kB / 1.216 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.4809, allocations: 79.8 kB / 1.216 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.481, allocations: 4 kB / 1.216 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.481, allocations: 35.84 kB / 1.216 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.4812, allocations: 35.89 kB / 1.216 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.4812, allocations: 4 kB / 1.216 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008148/0.482, allocations: 494.7 kB / 1.217 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.4821, allocations: 19.91 kB / 1.217 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.4821, allocations: 53.61 kB / 1.217 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.4824, allocations: 183.8 kB / 1.217 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4825, allocations: 0 / 1.217 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4825, allocations: 0 / 1.217 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.4825, allocations: 4 kB / 1.217 GB, free: 4.5 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004359/0.4829, allocations: 371.4 kB / 1.218 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.483, allocations: 12.03 kB / 1.218 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004307/0.4834, allocations: 40.88 kB / 1.218 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.4835, allocations: 168.3 kB / 1.218 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4835, allocations: 7.938 kB / 1.218 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.4836, allocations: 11.91 kB / 1.218 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.4837, allocations: 89.52 kB / 1.218 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4838, allocations: 0 / 1.218 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.4838, allocations: 4 kB / 1.218 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4838, allocations: 4 kB / 1.218 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.109e-05/0.4839, allocations: 43.95 kB / 1.218 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.4841, allocations: 181.6 kB / 1.218 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.4843, allocations: 98.55 kB / 1.218 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.4843, allocations: 32.84 kB / 1.218 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.4846, allocations: 178.2 kB / 1.218 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.4846, allocations: 38.55 kB / 1.218 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.4846, allocations: 0 / 1.218 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.00129/0.4859, allocations: 0.5389 MB / 1.219 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.486, allocations: 55.41 kB / 1.219 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.486, allocations: 105.7 kB / 1.219 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.4861, allocations: 29.7 kB / 1.219 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.4861, allocations: 84.52 kB / 1.219 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.651e-05/0.4862, allocations: 70.95 kB / 1.219 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.4862, allocations: 21.7 kB / 1.219 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.4863, allocations: 327 kB / 1.22 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.4864, allocations: 35.92 kB / 1.22 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.901e-05/0.4865, allocations: 74.25 kB / 1.22 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.4867, allocations: 115.3 kB / 1.22 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4867, allocations: 0 / 1.22 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002151/0.4869, allocations: 157.5 kB / 1.22 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.4869, allocations: 8 kB / 1.22 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.4869, allocations: 0 / 1.22 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.487, allocations: 4 kB / 1.22 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.4871, allocations: 35.92 kB / 1.22 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4872, allocations: 4 kB / 1.22 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.02e-05/0.4872, allocations: 11.92 kB / 1.22 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4872, allocations: 8 kB / 1.22 GB, free: 1.258 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 9.672e-05/0.4873, allocations: 122.4 kB / 1.22 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.4874, allocations: 7.906 kB / 1.22 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.4874, allocations: 20.44 kB / 1.22 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4874, allocations: 7.984 kB / 1.22 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4874, allocations: 0 / 1.22 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4875, allocations: 3.938 kB / 1.22 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.4876, allocations: 193.6 kB / 1.22 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4876, allocations: 0 / 1.22 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.4878, allocations: 47.91 kB / 1.22 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4878, allocations: 0 / 1.22 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4879, allocations: 3.938 kB / 1.22 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4879, allocations: 4 kB / 1.22 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4879, allocations: 0 / 1.22 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.4882, allocations: 208.9 kB / 1.221 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.4883, allocations: 89 kB / 1.221 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.4883, allocations: 12.05 kB / 1.221 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.4884, allocations: 8 kB / 1.221 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.4885, allocations: 12.17 kB / 1.221 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.4885, allocations: 8 kB / 1.221 GB, free: 440 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.589e-05/0.4885, allocations: 79.28 kB / 1.221 GB, free: 360 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4885, allocations: 4 kB / 1.221 GB, free: 356 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002207/0.4887, allocations: 24 kB / 1.221 GB, free: 332 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001315/0.4889, allocations: 115.2 kB / 1.221 GB, free: 204 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.4891, allocations: 101.3 kB / 1.221 GB, free: 104 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4891, allocations: 3.938 kB / 1.221 GB, free: 100 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.4892, allocations: 55.88 kB / 1.221 GB, free: 44 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.4894, allocations: 20.08 kB / 1.221 GB, free: 24 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008464/0.4903, allocations: 0.6124 MB / 1.222 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.4905, allocations: 0.705 MB / 1.222 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.4906, allocations: 24.62 kB / 1.222 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.4907, allocations: 15.44 kB / 1.222 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.4907, allocations: 0 / 1.222 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.003423/0.4941, allocations: 1.061 MB / 1.224 GB, free: 13.55 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)