Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001119/0.001119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001572/0.001572, allocations: 196.5 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 65.27 kB / 0.671 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2274, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002386/0.2299, allocations: 1.403 MB / 0.7842 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7271/0.957, allocations: 145.9 MB / 0.9267 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.9572, allocations: 0 / 0.9267 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.856e-05/0.9572, allocations: 4.391 kB / 0.9267 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.9574, allocations: 20.78 kB / 0.9267 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.9585, allocations: 299.9 kB / 0.927 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.9586, allocations: 65.12 kB / 0.9271 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.9586, allocations: 3.688 kB / 0.9271 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.218e-05/0.9587, allocations: 34.56 kB / 0.9271 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.9588, allocations: 32.7 kB / 0.9271 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.9588, allocations: 7.5 kB / 0.9272 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008292/0.9597, allocations: 442.9 kB / 0.9276 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.9597, allocations: 17.2 kB / 0.9276 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.9598, allocations: 23.77 kB / 0.9276 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.9601, allocations: 185.3 kB / 0.9278 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9602, allocations: 0 / 0.9278 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9602, allocations: 4.25 kB / 0.9278 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.9602, allocations: 0 / 0.9278 GB, free: 6.242 MB / 0.7325 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.0007479/0.9609, allocations: 397 kB / 0.9282 GB, free: 21.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.961, allocations: 9.625 kB / 0.9282 GB, free: 21.86 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/0.9614, allocations: 32.84 kB / 0.9282 GB, free: 21.86 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.9615, allocations: 165.6 kB / 0.9284 GB, free: 21.67 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.9616, allocations: 10.78 kB / 0.9284 GB, free: 21.66 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.9616, allocations: 13.28 kB / 0.9284 GB, free: 21.66 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.9618, allocations: 78.75 kB / 0.9285 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.9618, allocations: 0 / 0.9285 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.9618, allocations: 5 kB / 0.9285 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.9618, allocations: 5.031 kB / 0.9285 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.805e-05/0.9619, allocations: 52.28 kB / 0.9285 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.9621, allocations: 180 kB / 0.9287 GB, free: 21.43 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.9623, allocations: 95.58 kB / 0.9288 GB, free: 21.4 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.9624, allocations: 34.58 kB / 0.9288 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.9627, allocations: 182.7 kB / 0.929 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.9627, allocations: 33.16 kB / 0.929 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.9627, allocations: 0 / 0.929 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001362/0.9641, allocations: 0.5458 MB / 0.9296 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.9641, allocations: 57.52 kB / 0.9296 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.9642, allocations: 96.3 kB / 0.9297 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.9642, allocations: 29.7 kB / 0.9297 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.9643, allocations: 86 kB / 0.9298 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.9643, allocations: 67.92 kB / 0.9299 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.9644, allocations: 42.36 kB / 0.9299 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.9645, allocations: 324.3 kB / 0.9302 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/0.9646, allocations: 37.81 kB / 0.9303 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.395e-05/0.9647, allocations: 69.75 kB / 0.9303 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.9648, allocations: 113.2 kB / 0.9304 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.9648, allocations: 0 / 0.9304 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002381/0.9651, allocations: 163.3 kB / 0.9306 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.9651, allocations: 8.75 kB / 0.9306 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.9651, allocations: 2.25 kB / 0.9306 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.9651, allocations: 3.219 kB / 0.9306 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.9653, allocations: 37.25 kB / 0.9306 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.9653, allocations: 2.406 kB / 0.9307 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.783e-05/0.9654, allocations: 12.36 kB / 0.9307 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.9654, allocations: 4.781 kB / 0.9307 GB, free: 20.14 MB / 0.7481 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.54e-05/0.9655, allocations: 123.6 kB / 0.9308 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.9655, allocations: 12.75 kB / 0.9308 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.9656, allocations: 16.03 kB / 0.9308 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.9656, allocations: 1.969 kB / 0.9308 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9656, allocations: 0.9062 kB / 0.9308 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.9656, allocations: 8.391 kB / 0.9308 GB, free: 20 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.9658, allocations: 190.1 kB / 0.931 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9658, allocations: 0 / 0.931 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.966, allocations: 44.61 kB / 0.931 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.966, allocations: 1.031 kB / 0.931 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.966, allocations: 1.281 kB / 0.931 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.966, allocations: 9.219 kB / 0.9311 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.966, allocations: 0 / 0.9311 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.9664, allocations: 219.2 kB / 0.9313 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.9664, allocations: 88.84 kB / 0.9314 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.9665, allocations: 6.469 kB / 0.9314 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.9666, allocations: 6.875 kB / 0.9314 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.9666, allocations: 12.11 kB / 0.9314 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.9666, allocations: 9.219 kB / 0.9314 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.202e-05/0.9667, allocations: 87.33 kB / 0.9315 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9667, allocations: 0 / 0.9315 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002271/0.9669, allocations: 25.06 kB / 0.9315 GB, free: 19.55 MB / 0.7481 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.0001389/0.9671, allocations: 104.5 kB / 0.9316 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.9673, allocations: 126 kB / 0.9317 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9673, allocations: 0.7188 kB / 0.9317 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.9674, allocations: 60.73 kB / 0.9318 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.9677, allocations: 10.31 kB / 0.9318 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/0.9685, allocations: 0.5441 MB / 0.9323 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.9687, allocations: 0.7011 MB / 0.933 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.9689, allocations: 17.89 kB / 0.933 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.9689, allocations: 16.16 kB / 0.933 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/0.9689, allocations: 4 kB / 0.933 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of Templates: time 0.003631/0.9725, allocations: 1.111 MB / 0.9341 GB, free: 18.28 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)