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.001682/0.001682, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001518/0.001518, allocations: 192.8 kB / 16.14 MB, free: 6.695 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 66.66 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3559, allocations: 159.9 MB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.003153/0.3591, allocations: 1.397 MB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1722/0.5314, allocations: 145.8 MB / 1.211 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.5315, allocations: 0 / 1.211 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.691e-05/0.5316, allocations: 7.922 kB / 1.211 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.5317, allocations: 23.91 kB / 1.211 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009955/0.5327, allocations: 298.8 kB / 1.212 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.5328, allocations: 75.8 kB / 1.212 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.5329, allocations: 11.98 kB / 1.212 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.204e-05/0.5329, allocations: 23.94 kB / 1.212 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.533, allocations: 31.89 kB / 1.212 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.5331, allocations: 4 kB / 1.212 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009394/0.534, allocations: 0.4986 MB / 1.212 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.5341, allocations: 19.91 kB / 1.212 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.5341, allocations: 19.94 kB / 1.212 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.5345, allocations: 187.8 kB / 1.212 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.5345, allocations: 0 / 1.212 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5345, allocations: 3.938 kB / 1.212 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5e-06/0.5345, allocations: 0 / 1.212 GB, free: 5.926 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.0005348/0.5351, allocations: 391.4 kB / 1.213 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.5351, allocations: 8.031 kB / 1.213 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004457/0.5356, allocations: 36.89 kB / 1.213 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.5357, allocations: 168.3 kB / 1.213 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.5357, allocations: 11.94 kB / 1.213 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.5358, allocations: 7.906 kB / 1.213 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.536, allocations: 81.58 kB / 1.213 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.536, allocations: 0 / 1.213 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.536, allocations: 4 kB / 1.213 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.536, allocations: 11.94 kB / 1.213 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.5361, allocations: 47.89 kB / 1.213 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.5363, allocations: 185.6 kB / 1.213 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.5365, allocations: 86.69 kB / 1.213 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.5366, allocations: 28.84 kB / 1.213 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.5368, allocations: 182.2 kB / 1.214 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.5369, allocations: 34.5 kB / 1.214 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.5369, allocations: 0 / 1.214 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001359/0.5382, allocations: 0.5467 MB / 1.214 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.5383, allocations: 55.41 kB / 1.214 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.49e-05/0.5383, allocations: 93.8 kB / 1.214 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.5384, allocations: 37.69 kB / 1.214 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.5384, allocations: 80.52 kB / 1.214 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.294e-05/0.5385, allocations: 70.95 kB / 1.214 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.5385, allocations: 41.73 kB / 1.215 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5387, allocations: 326.8 kB / 1.215 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.146e-05/0.5387, allocations: 31.98 kB / 1.215 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.5388, allocations: 71.34 kB / 1.215 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.539, allocations: 123.2 kB / 1.215 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.539, allocations: 0 / 1.215 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002134/0.5392, allocations: 157.5 kB / 1.215 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5392, allocations: 5.406 kB / 1.215 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5392, allocations: 0 / 1.215 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.5393, allocations: 7.984 kB / 1.215 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.5395, allocations: 43.92 kB / 1.215 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5395, allocations: 0 / 1.215 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.5395, allocations: 11.92 kB / 1.215 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.5395, allocations: 8 kB / 1.215 GB, free: 2.656 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.717e-05/0.5397, allocations: 121.8 kB / 1.215 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.5397, allocations: 8 kB / 1.215 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.5397, allocations: 20.44 kB / 1.215 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.5397, allocations: 0 / 1.215 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5397, allocations: 0 / 1.215 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5398, allocations: 3.938 kB / 1.215 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.5399, allocations: 189.6 kB / 1.216 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5399, allocations: 0 / 1.216 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.5401, allocations: 43.97 kB / 1.216 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.5402, allocations: 0 / 1.216 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.5402, allocations: 4 kB / 1.216 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5402, allocations: 0 / 1.216 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.5402, allocations: 4.156 kB / 1.216 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.5405, allocations: 214.6 kB / 1.216 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/0.5406, allocations: 89.03 kB / 1.216 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.5406, allocations: 12.3 kB / 1.216 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.5407, allocations: 8 kB / 1.216 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.5408, allocations: 15.92 kB / 1.216 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.5408, allocations: 4 kB / 1.216 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.173e-05/0.5408, allocations: 83.28 kB / 1.216 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5408, allocations: 0 / 1.216 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000228/0.5411, allocations: 28 kB / 1.216 GB, free: 1.73 MB / 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.0001385/0.5412, allocations: 111.2 kB / 1.216 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.5414, allocations: 103.9 kB / 1.216 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.5414, allocations: 4 kB / 1.216 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.238e-05/0.5415, allocations: 55.97 kB / 1.216 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.5418, allocations: 26.66 kB / 1.216 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008842/0.5427, allocations: 0.5224 MB / 1.217 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.543, allocations: 0.7049 MB / 1.218 GB, free: 148 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.5432, allocations: 24.62 kB / 1.218 GB, free: 120 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.5432, allocations: 15.44 kB / 1.218 GB, free: 104 kB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.5432, allocations: 0 / 1.218 GB, free: 104 kB / 0.9669 GB Notification: Performance of Templates: time 0.00368/0.5469, allocations: 1.075 MB / 1.219 GB, free: 15.03 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)