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.001373/0.001378, 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.001584/0.001584, allocations: 192.9 kB / 16.13 MB, free: 6.652 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.54/1.54, allocations: 205.1 MB / 222 MB, free: 4.742 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.801/1.801, allocations: 292.2 MB / 0.5484 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.00134/0.00134, allocations: 63.92 kB / 0.6708 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2459, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002941/0.2489, allocations: 1.397 MB / 0.784 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7116/0.9606, allocations: 145.8 MB / 0.9264 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.9606, allocations: 0 / 0.9264 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.421e-05/0.9607, allocations: 4.422 kB / 0.9264 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.9609, allocations: 21.09 kB / 0.9264 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009276/0.9618, allocations: 299.1 kB / 0.9267 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.9619, allocations: 81.53 kB / 0.9268 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.962, allocations: 11.28 kB / 0.9268 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.962, allocations: 31.34 kB / 0.9268 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.9621, allocations: 32.73 kB / 0.9269 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.9622, allocations: 5.656 kB / 0.9269 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000823/0.963, allocations: 0.4886 MB / 0.9273 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.9631, allocations: 15.33 kB / 0.9274 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.9631, allocations: 30.36 kB / 0.9274 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.9635, allocations: 186.1 kB / 0.9276 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.9635, allocations: 1.031 kB / 0.9276 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9635, allocations: 4 kB / 0.9276 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.9635, allocations: 1.094 kB / 0.9276 GB, free: 5.957 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.000666/0.9642, allocations: 392.3 kB / 0.9279 GB, free: 21.58 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.9642, allocations: 8.938 kB / 0.9279 GB, free: 21.58 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/0.9647, allocations: 38.12 kB / 0.928 GB, free: 21.58 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.9648, allocations: 164.5 kB / 0.9281 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.9648, allocations: 6.969 kB / 0.9281 GB, free: 21.38 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.9648, allocations: 19.2 kB / 0.9282 GB, free: 21.38 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.965, allocations: 77.61 kB / 0.9282 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.965, allocations: 1.062 kB / 0.9282 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.965, allocations: 1 kB / 0.9282 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.9651, allocations: 1.719 kB / 0.9282 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.53e-05/0.9652, allocations: 48.92 kB / 0.9283 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.9653, allocations: 187.4 kB / 0.9285 GB, free: 21.15 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.9655, allocations: 93.34 kB / 0.9286 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.9656, allocations: 33.75 kB / 0.9286 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.9658, allocations: 175.9 kB / 0.9288 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.9659, allocations: 36.58 kB / 0.9288 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 2.264e-06/0.9659, allocations: 2.719 kB / 0.9288 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001346/0.9672, allocations: 0.5509 MB / 0.9293 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.9673, allocations: 53.22 kB / 0.9294 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.9674, allocations: 101.4 kB / 0.9295 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.9674, allocations: 31.64 kB / 0.9295 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.9675, allocations: 83.83 kB / 0.9296 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.9676, allocations: 65.41 kB / 0.9297 GB, free: 20.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.9676, allocations: 40.34 kB / 0.9297 GB, free: 20.28 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.9677, allocations: 323.8 kB / 0.93 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.436e-05/0.9678, allocations: 36.27 kB / 0.93 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.615e-05/0.9679, allocations: 75.75 kB / 0.9301 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.968, allocations: 114.8 kB / 0.9302 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.9681, allocations: 0.625 kB / 0.9302 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002542/0.9683, allocations: 156.7 kB / 0.9304 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.9683, allocations: 5.875 kB / 0.9304 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.9684, allocations: 1.422 kB / 0.9304 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.9684, allocations: 1.812 kB / 0.9304 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.9686, allocations: 44.7 kB / 0.9304 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.9686, allocations: 1.812 kB / 0.9304 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.9686, allocations: 15.38 kB / 0.9304 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.9687, allocations: 5.875 kB / 0.9304 GB, free: 19.85 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.414e-05/0.9688, allocations: 120.9 kB / 0.9306 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.9688, allocations: 8.75 kB / 0.9306 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.9688, allocations: 15.72 kB / 0.9306 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.9689, allocations: 2.797 kB / 0.9306 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9689, allocations: 0.875 kB / 0.9306 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.9689, allocations: 7.312 kB / 0.9306 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.969, allocations: 196.3 kB / 0.9308 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.9691, allocations: 4 kB / 0.9308 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.9693, allocations: 37.09 kB / 0.9308 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.9693, allocations: 0.8438 kB / 0.9308 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.9693, allocations: 5.125 kB / 0.9308 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.9693, allocations: 0.875 kB / 0.9308 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.9693, allocations: 2.078 kB / 0.9308 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.9696, allocations: 217.4 kB / 0.931 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.198e-05/0.9697, allocations: 86.5 kB / 0.9311 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.9698, allocations: 13.95 kB / 0.9311 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.9699, allocations: 7.422 kB / 0.9311 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.9699, allocations: 10.28 kB / 0.9311 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.97, allocations: 12.88 kB / 0.9312 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.764e-05/0.9701, allocations: 77.28 kB / 0.9312 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9701, allocations: 0 / 0.9312 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002312/0.9703, allocations: 29.09 kB / 0.9313 GB, free: 19.27 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.0001639/0.9705, allocations: 111 kB / 0.9314 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.9707, allocations: 105.9 kB / 0.9315 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9707, allocations: 0.9062 kB / 0.9315 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.841e-05/0.9708, allocations: 56.88 kB / 0.9315 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.9712, allocations: 15.98 kB / 0.9315 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.972, allocations: 0.5349 MB / 0.9321 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.9723, allocations: 0.6991 MB / 0.9327 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.9725, allocations: 29.53 kB / 0.9328 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.9725, allocations: 12.59 kB / 0.9328 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.9725, allocations: 6.625 kB / 0.9328 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of Templates: time 0.003778/0.9763, allocations: 1.062 MB / 0.9338 GB, free: 18.01 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)