Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001645/0.001645, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002009/0.002009, allocations: 193.9 kB / 16.14 MB, free: 6.664 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.582 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: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.83 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3406, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00261/0.3433, allocations: 1.385 MB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1539/0.4972, allocations: 145.8 MB / 1.211 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.4973, allocations: 0 / 1.211 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.404e-05/0.4974, allocations: 7.922 kB / 1.211 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.4975, allocations: 7.938 kB / 1.211 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.4986, allocations: 306.8 kB / 1.212 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.4987, allocations: 83.73 kB / 1.212 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.4987, allocations: 4 kB / 1.212 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.4988, allocations: 31.91 kB / 1.212 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.4989, allocations: 35.83 kB / 1.212 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.4989, allocations: 4 kB / 1.212 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009877/0.4999, allocations: 494.7 kB / 1.212 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.278e-05/0.5, allocations: 15.98 kB / 1.212 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.5001, allocations: 35.84 kB / 1.212 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004266/0.5005, allocations: 187.8 kB / 1.212 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5005, allocations: 0 / 1.212 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5005, allocations: 0 / 1.212 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.5005, allocations: 4 kB / 1.212 GB, free: 5.977 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.0005011/0.501, allocations: 387.4 kB / 1.213 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5011, allocations: 12.03 kB / 1.213 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.5015, allocations: 28.91 kB / 1.213 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.5016, allocations: 176.2 kB / 1.213 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.5017, allocations: 11.94 kB / 1.213 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.5017, allocations: 15.91 kB / 1.213 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.5019, allocations: 77.66 kB / 1.213 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.5019, allocations: 0 / 1.213 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.5019, allocations: 3.938 kB / 1.213 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.502, allocations: 3.938 kB / 1.213 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.5021, allocations: 47.95 kB / 1.213 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.5023, allocations: 189.6 kB / 1.213 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.5025, allocations: 90.69 kB / 1.213 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.5025, allocations: 36.78 kB / 1.213 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/0.5028, allocations: 170.2 kB / 1.214 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.5028, allocations: 38.56 kB / 1.214 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.5028, allocations: 4 kB / 1.214 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001404/0.5042, allocations: 0.5389 MB / 1.214 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.5043, allocations: 51.41 kB / 1.214 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.5044, allocations: 105.8 kB / 1.214 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.5044, allocations: 25.7 kB / 1.214 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.5044, allocations: 88.52 kB / 1.214 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.5045, allocations: 70.94 kB / 1.215 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.5046, allocations: 37.62 kB / 1.215 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.5047, allocations: 322.8 kB / 1.215 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.716e-05/0.5047, allocations: 43.91 kB / 1.215 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.5048, allocations: 78.16 kB / 1.215 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.505, allocations: 111.3 kB / 1.215 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.505, allocations: 0 / 1.215 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000238/0.5053, allocations: 157.5 kB / 1.215 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5053, allocations: 8 kB / 1.215 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5053, allocations: 0 / 1.215 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.5053, allocations: 4 kB / 1.215 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.5055, allocations: 43.86 kB / 1.215 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5055, allocations: 4 kB / 1.215 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.928e-05/0.5056, allocations: 8.062 kB / 1.215 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.5056, allocations: 12 kB / 1.215 GB, free: 2.699 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.378e-05/0.5057, allocations: 121.8 kB / 1.215 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.5057, allocations: 4 kB / 1.215 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.5058, allocations: 20.42 kB / 1.215 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5058, allocations: 4 kB / 1.215 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5058, allocations: 0 / 1.215 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5058, allocations: 7.938 kB / 1.215 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.506, allocations: 193.6 kB / 1.216 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.506, allocations: 0 / 1.216 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.5062, allocations: 39.92 kB / 1.216 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5062, allocations: 0 / 1.216 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.5062, allocations: 4 kB / 1.216 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5062, allocations: 0 / 1.216 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.5062, allocations: 4 kB / 1.216 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.5066, allocations: 218.4 kB / 1.216 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.5067, allocations: 85.09 kB / 1.216 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.5067, allocations: 4.062 kB / 1.216 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.5068, allocations: 11.98 kB / 1.216 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.5069, allocations: 15.92 kB / 1.216 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.5069, allocations: 8 kB / 1.216 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.276e-05/0.5069, allocations: 75.28 kB / 1.216 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5069, allocations: 0 / 1.216 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002384/0.5072, allocations: 28 kB / 1.216 GB, free: 1.777 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.000149/0.5073, allocations: 111.3 kB / 1.216 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.5075, allocations: 99.89 kB / 1.216 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.5076, allocations: 0 / 1.216 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.882e-05/0.5076, allocations: 59.86 kB / 1.216 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.5079, allocations: 12.77 kB / 1.216 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.5088, allocations: 0.542 MB / 1.217 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.509, allocations: 0.7049 MB / 1.218 GB, free: 192 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000142/0.5092, allocations: 24.62 kB / 1.218 GB, free: 164 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.5092, allocations: 15.44 kB / 1.218 GB, free: 148 kB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.5093, allocations: 0 / 1.218 GB, free: 148 kB / 0.9669 GB Notification: Performance of Templates: time 0.003623/0.5129, allocations: 1.073 MB / 1.219 GB, free: 15.07 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)