Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.341/2.341, allocations: 391.2 MB / 407 MB, free: 10.85 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.001308/0.001308, allocations: 195.4 kB / 499.1 MB, free: 4.664 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.524/1.524, allocations: 222.9 MB / 0.7948 GB, free: 15.88 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.0009903/0.0009903, allocations: 101.8 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 53.2 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2587, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002436/0.2612, allocations: 1.393 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1873/0.4485, allocations: 145.8 MB / 1.362 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.4487, allocations: 0 / 1.362 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 5.426e-05/0.4488, allocations: 0 / 1.362 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.4489, allocations: 15.91 kB / 1.362 GB, free: 1.504 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.4501, allocations: 302.8 kB / 1.362 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.4502, allocations: 79.8 kB / 1.362 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.4503, allocations: 4 kB / 1.362 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.4504, allocations: 35.84 kB / 1.362 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.4505, allocations: 35.89 kB / 1.362 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.4505, allocations: 11.94 kB / 1.362 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.4517, allocations: 490.7 kB / 1.363 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.4518, allocations: 23.91 kB / 1.363 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.4519, allocations: 23.92 kB / 1.363 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.4523, allocations: 189.6 kB / 1.363 GB, free: 340 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4523, allocations: 0 / 1.363 GB, free: 340 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4523, allocations: 0 / 1.363 GB, free: 340 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.4524, allocations: 0 / 1.363 GB, free: 340 kB / 0.8542 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.0006714/0.453, allocations: 391.4 kB / 1.363 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.4531, allocations: 15.97 kB / 1.363 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005585/0.4537, allocations: 36.91 kB / 1.363 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.4538, allocations: 172.3 kB / 1.364 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.4538, allocations: 11.81 kB / 1.364 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.4539, allocations: 12 kB / 1.364 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.4541, allocations: 77.64 kB / 1.364 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4542, allocations: 0 / 1.364 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.4542, allocations: 4 kB / 1.364 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4542, allocations: 4 kB / 1.364 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.4543, allocations: 43.95 kB / 1.364 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.4546, allocations: 189.5 kB / 1.364 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.4549, allocations: 90.62 kB / 1.364 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.616e-05/0.455, allocations: 32.84 kB / 1.364 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/0.4553, allocations: 186.2 kB / 1.364 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.4553, allocations: 30.89 kB / 1.364 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.4553, allocations: 0 / 1.364 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001697/0.457, allocations: 0.5458 MB / 1.365 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.4571, allocations: 55.41 kB / 1.365 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.272e-05/0.4572, allocations: 105.7 kB / 1.365 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.4572, allocations: 33.7 kB / 1.365 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.4573, allocations: 80.52 kB / 1.365 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.507e-05/0.4574, allocations: 66.92 kB / 1.365 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.341e-05/0.4575, allocations: 45.83 kB / 1.365 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4576, allocations: 322.8 kB / 1.365 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.369e-05/0.4577, allocations: 31.98 kB / 1.365 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.4579, allocations: 69.44 kB / 1.366 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.4581, allocations: 123.3 kB / 1.366 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4581, allocations: 0 / 1.366 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003407/0.4585, allocations: 153.5 kB / 1.366 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.4585, allocations: 7.984 kB / 1.366 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.4585, allocations: 0 / 1.366 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.4586, allocations: 4.125 kB / 1.366 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.4589, allocations: 43.92 kB / 1.366 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.4589, allocations: 3.938 kB / 1.366 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.3e-05/0.459, allocations: 11.94 kB / 1.366 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.459, allocations: 4 kB / 1.366 GB, free: 13.05 MB / 0.8698 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 0.0001303/0.4591, allocations: 126.4 kB / 1.366 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.4592, allocations: 7.906 kB / 1.366 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.275e-05/0.4593, allocations: 20.44 kB / 1.366 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4593, allocations: 0 / 1.366 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.4593, allocations: 0 / 1.366 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4593, allocations: 7.922 kB / 1.366 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.4596, allocations: 193.6 kB / 1.366 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4596, allocations: 0 / 1.366 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.4599, allocations: 39.92 kB / 1.366 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4599, allocations: 0 / 1.366 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.4599, allocations: 4 kB / 1.366 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.46, allocations: 8 kB / 1.366 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.46, allocations: 0 / 1.366 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.462, allocations: 1.358 MB / 1.368 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.4621, allocations: 89 kB / 1.368 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.4622, allocations: 4 kB / 1.368 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.4623, allocations: 4 kB / 1.368 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.4624, allocations: 16.17 kB / 1.368 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.4624, allocations: 8 kB / 1.368 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.4625, allocations: 79.28 kB / 1.368 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4625, allocations: 0 / 1.368 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005434/0.463, allocations: 39.98 kB / 1.368 GB, free: 10.84 MB / 0.8698 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.0002052/0.4633, allocations: 107.2 kB / 1.368 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.4636, allocations: 103.8 kB / 1.368 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4636, allocations: 0 / 1.368 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4637, allocations: 53.39 kB / 1.368 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.4641, allocations: 28.11 kB / 1.368 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.4655, allocations: 0.6966 MB / 1.369 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.4658, allocations: 0.7051 MB / 1.369 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000226/0.4661, allocations: 24.62 kB / 1.369 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.4661, allocations: 19.44 kB / 1.369 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of SimCode: time 5.61e-07/0.4662, allocations: 0 / 1.369 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of Templates: time 0.004948/0.4711, allocations: 1.157 MB / 1.371 GB, free: 7.883 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)