Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008501/0.008501, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001667/0.001667, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002146/0.002146, allocations: 293.3 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9269/0.9269, allocations: 169.2 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 92.22 kB / 0.6814 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4279, allocations: 86.97 MB / 0.7664 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002049/0.43, allocations: 1.334 MB / 0.7677 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1438/0.5738, allocations: 148.1 MB / 0.9123 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.5739, allocations: 0 / 0.9123 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.5739, allocations: 0 / 0.9123 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 9.792e-05/0.5741, allocations: 15.86 kB / 0.9123 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009488/0.575, allocations: 326.6 kB / 0.9126 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.5752, allocations: 63.77 kB / 0.9127 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.5752, allocations: 7.984 kB / 0.9127 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.369e-05/0.5753, allocations: 31.91 kB / 0.9127 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.5754, allocations: 31.91 kB / 0.9127 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.5754, allocations: 4 kB / 0.9127 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007996/0.5762, allocations: 414.5 kB / 0.9131 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.5762, allocations: 23.91 kB / 0.9132 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.5763, allocations: 23.94 kB / 0.9132 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.5766, allocations: 153.5 kB / 0.9133 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5766, allocations: 0 / 0.9133 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5766, allocations: 0 / 0.9133 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.5767, allocations: 0 / 0.9133 GB, free: 12.68 MB / 0.6856 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.0004192/0.5771, allocations: 395.1 kB / 0.9137 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.5771, allocations: 12.03 kB / 0.9137 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.5775, allocations: 36.84 kB / 0.9138 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.791e-05/0.5776, allocations: 168.3 kB / 0.9139 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.5777, allocations: 11.94 kB / 0.9139 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.5777, allocations: 11.94 kB / 0.9139 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.5779, allocations: 77.64 kB / 0.914 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5779, allocations: 4 kB / 0.914 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.5779, allocations: 4 kB / 0.914 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.5779, allocations: 4 kB / 0.914 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.902e-05/0.578, allocations: 47.95 kB / 0.9141 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.5782, allocations: 193.5 kB / 0.9143 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.5784, allocations: 86.69 kB / 0.9143 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.5784, allocations: 28.84 kB / 0.9144 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.5787, allocations: 178.2 kB / 0.9145 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.5787, allocations: 34.56 kB / 0.9146 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.5787, allocations: 0 / 0.9146 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001239/0.58, allocations: 0.5552 MB / 0.9151 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.58, allocations: 51.41 kB / 0.9152 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.093e-05/0.5801, allocations: 101.8 kB / 0.9153 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.5801, allocations: 29.7 kB / 0.9153 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.5801, allocations: 92.39 kB / 0.9154 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.576e-05/0.5802, allocations: 71.39 kB / 0.9154 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.5803, allocations: 37.7 kB / 0.9155 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.5804, allocations: 327 kB / 0.9158 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.1e-05/0.5804, allocations: 31.98 kB / 0.9158 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.5805, allocations: 74.45 kB / 0.9159 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.5807, allocations: 107.4 kB / 0.916 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5807, allocations: 0 / 0.916 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002119/0.5809, allocations: 157.5 kB / 0.9161 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.5809, allocations: 12 kB / 0.9162 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.5809, allocations: 0 / 0.9162 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5809, allocations: 4 kB / 0.9162 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.5811, allocations: 35.98 kB / 0.9162 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.5811, allocations: 11.92 kB / 0.9162 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.5812, allocations: 3.938 kB / 0.9162 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.5812, allocations: 12.12 kB / 0.9162 GB, free: 9.398 MB / 0.6856 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.216e-05/0.5813, allocations: 120.2 kB / 0.9163 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.5813, allocations: 11.95 kB / 0.9163 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.5814, allocations: 20.44 kB / 0.9164 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5814, allocations: 4 kB / 0.9164 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.5814, allocations: 0 / 0.9164 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.5814, allocations: 3.938 kB / 0.9164 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.5816, allocations: 189.6 kB / 0.9166 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.5816, allocations: 7.922 kB / 0.9166 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.5818, allocations: 39.98 kB / 0.9166 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.5818, allocations: 0 / 0.9166 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5818, allocations: 0 / 0.9166 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.5818, allocations: 0 / 0.9166 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5818, allocations: 8 kB / 0.9166 GB, free: 8.949 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.5821, allocations: 212.8 kB / 0.9168 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/0.5822, allocations: 93.03 kB / 0.9169 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.5822, allocations: 8.062 kB / 0.9169 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.5823, allocations: 0 / 0.9169 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.5824, allocations: 19.92 kB / 0.9169 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.5824, allocations: 4 kB / 0.9169 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.212e-05/0.5824, allocations: 83.28 kB / 0.917 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5824, allocations: 3.938 kB / 0.917 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002154/0.5826, allocations: 28 kB / 0.917 GB, free: 8.469 MB / 0.6856 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.0001247/0.5828, allocations: 107.2 kB / 0.9171 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.583, allocations: 110.2 kB / 0.9172 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.583, allocations: 0 / 0.9172 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.5831, allocations: 59.95 kB / 0.9173 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.5833, allocations: 23.25 kB / 0.9173 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007264/0.584, allocations: 0.5047 MB / 0.9178 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.5843, allocations: 0.6969 MB / 0.9185 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 9.724e-05/0.5844, allocations: 24.64 kB / 0.9185 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.5844, allocations: 15.44 kB / 0.9185 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of SimCode: time 2.5e-07/0.5844, allocations: 0 / 0.9185 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of Templates: time 0.003353/0.5878, allocations: 1.143 MB / 0.9197 GB, free: 5.734 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)