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.001117/0.001117, allocations: 104 kB / 16.35 MB, free: 5.824 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.001153/0.001153, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 289.7 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8941/0.8941, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001802, allocations: 94.58 kB / 0.5966 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1564, allocations: 86.98 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002286/0.1588, allocations: 1.334 MB / 0.6829 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4091/0.5679, allocations: 148.1 MB / 0.8275 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.568, allocations: 0 / 0.8275 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.568, allocations: 7.922 kB / 0.8275 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.47e-05/0.5681, allocations: 10.94 kB / 0.8275 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.569, allocations: 328.1 kB / 0.8278 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.101e-05/0.5691, allocations: 59.83 kB / 0.8279 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.5691, allocations: 7.938 kB / 0.8279 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.5691, allocations: 31.91 kB / 0.8279 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.427e-05/0.5692, allocations: 35.89 kB / 0.828 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.5692, allocations: 0 / 0.828 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007053/0.57, allocations: 410.6 kB / 0.8284 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.57, allocations: 19.91 kB / 0.8284 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.5701, allocations: 27.92 kB / 0.8284 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.5703, allocations: 158.2 kB / 0.8286 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.5704, allocations: 0 / 0.8286 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5704, allocations: 0 / 0.8286 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5704, allocations: 7.922 kB / 0.8286 GB, free: 8.066 MB / 0.5919 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.0003938/0.5708, allocations: 383.4 kB / 0.8289 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.5708, allocations: 8.031 kB / 0.8289 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/0.5712, allocations: 45.42 kB / 0.829 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.995e-05/0.5713, allocations: 172.5 kB / 0.8291 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.5713, allocations: 12.81 kB / 0.8292 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.5713, allocations: 4 kB / 0.8292 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.5715, allocations: 77.64 kB / 0.8292 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.5715, allocations: 0 / 0.8292 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.5715, allocations: 8 kB / 0.8292 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5715, allocations: 0 / 0.8292 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.101e-05/0.5716, allocations: 47.95 kB / 0.8293 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.5718, allocations: 185.5 kB / 0.8295 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.572, allocations: 102.6 kB / 0.8296 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.572, allocations: 28.84 kB / 0.8296 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.5722, allocations: 174.2 kB / 0.8298 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.5723, allocations: 38.64 kB / 0.8298 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 2.504e-06/0.5723, allocations: 4 kB / 0.8298 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001162/0.5734, allocations: 0.5407 MB / 0.8303 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.5735, allocations: 59.34 kB / 0.8304 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.598e-05/0.5735, allocations: 97.86 kB / 0.8305 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.5736, allocations: 29.7 kB / 0.8305 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.5736, allocations: 84.52 kB / 0.8306 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.5737, allocations: 71 kB / 0.8306 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.5737, allocations: 41.7 kB / 0.8307 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.5738, allocations: 318.8 kB / 0.831 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.728e-05/0.5739, allocations: 35.97 kB / 0.831 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.574, allocations: 73.36 kB / 0.8311 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.5741, allocations: 118.2 kB / 0.8312 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5741, allocations: 0 / 0.8312 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000203/0.5743, allocations: 157.4 kB / 0.8314 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.5743, allocations: 4 kB / 0.8314 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5744, allocations: 4 kB / 0.8314 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5744, allocations: 3.984 kB / 0.8314 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.5745, allocations: 43.98 kB / 0.8314 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.5745, allocations: 4 kB / 0.8314 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.5746, allocations: 3.938 kB / 0.8314 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.5746, allocations: 8 kB / 0.8314 GB, free: 4.809 MB / 0.5919 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 8.613e-05/0.5747, allocations: 129.8 kB / 0.8316 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.5747, allocations: 7.906 kB / 0.8316 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.5748, allocations: 16.44 kB / 0.8316 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5748, allocations: 0 / 0.8316 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5748, allocations: 8.812 kB / 0.8316 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5748, allocations: 7.938 kB / 0.8316 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.575, allocations: 185.6 kB / 0.8318 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.575, allocations: 4 kB / 0.8318 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.5752, allocations: 39.92 kB / 0.8318 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5752, allocations: 4 kB / 0.8318 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.5752, allocations: 5.109 kB / 0.8318 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5752, allocations: 160 / 0.8318 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.5752, allocations: 0 / 0.8318 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.5755, allocations: 211.3 kB / 0.832 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.5756, allocations: 93 kB / 0.8321 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.5756, allocations: 4.062 kB / 0.8321 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.5757, allocations: 7.984 kB / 0.8321 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.5757, allocations: 20.61 kB / 0.8321 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.5758, allocations: 11.94 kB / 0.8322 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.783e-05/0.5758, allocations: 75.28 kB / 0.8322 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5758, allocations: 0 / 0.8322 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002136/0.576, allocations: 32 kB / 0.8323 GB, free: 3.871 MB / 0.5919 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.0001162/0.5761, allocations: 107.3 kB / 0.8324 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.5763, allocations: 108.2 kB / 0.8325 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5763, allocations: 0 / 0.8325 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.9e-05/0.5764, allocations: 55.91 kB / 0.8325 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.5766, allocations: 19.12 kB / 0.8325 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.5774, allocations: 0.5198 MB / 0.833 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.5776, allocations: 0.7008 MB / 0.8337 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.511e-05/0.5777, allocations: 28.62 kB / 0.8337 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.5777, allocations: 15.44 kB / 0.8338 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.5777, allocations: 0 / 0.8338 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of Templates: time 0.003192/0.5809, allocations: 1.101 MB / 0.8348 GB, free: 1.164 MB / 0.5919 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)