Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001606/0.001606, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.714/1.714, allocations: 251.9 MB / 0.51 GB, free: 4.852 MB / 414.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.0006274/0.000628, allocations: 19.98 kB / 0.6241 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6805/0.6811, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay): time 0.003991/0.6851, allocations: 2.671 MB / 0.7306 GB, free: 8.777 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003061/0.6882, allocations: 1.596 MB / 0.7321 GB, free: 7.172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003955/0.6887, allocations: 11.94 kB / 0.7321 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.6897, allocations: 285.9 kB / 0.7324 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004832/0.6902, allocations: 171.5 kB / 0.7326 GB, free: 6.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009592/0.6911, allocations: 299.4 kB / 0.7329 GB, free: 6.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007273/0.6919, allocations: 492.4 kB / 0.7333 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006084/0.6925, allocations: 374 kB / 0.7337 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.6928, allocations: 211.2 kB / 0.7339 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.693, allocations: 222.9 kB / 0.7341 GB, free: 5.148 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.6931, allocations: 24 kB / 0.7341 GB, free: 5.125 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.6933, allocations: 63.95 kB / 0.7342 GB, free: 5.062 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.6935, allocations: 151.4 kB / 0.7343 GB, free: 4.914 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.6936, allocations: 137.3 kB / 0.7345 GB, free: 4.773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006105/0.6943, allocations: 0.5514 MB / 0.735 GB, free: 4.223 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6943, allocations: 0 / 0.735 GB, free: 4.223 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6943, allocations: 0 / 0.735 GB, free: 4.223 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.6943, allocations: 0 / 0.735 GB, free: 4.223 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001732/0.696, allocations: 0.8884 MB / 0.7359 GB, free: 3.273 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.6961, allocations: 12.03 kB / 0.7359 GB, free: 3.262 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.6963, allocations: 90.92 kB / 0.736 GB, free: 3.172 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007835/0.6971, allocations: 472 kB / 0.7364 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.6972, allocations: 75 kB / 0.7365 GB, free: 2.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.923e-05/0.6973, allocations: 56 kB / 0.7365 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009718/0.6982, allocations: 0.6099 MB / 0.7371 GB, free: 1.863 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.6983, allocations: 7.938 kB / 0.7372 GB, free: 1.855 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.177e-05/0.6983, allocations: 24 kB / 0.7372 GB, free: 1.832 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.6983, allocations: 12 kB / 0.7372 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007004/0.699, allocations: 379.5 kB / 0.7375 GB, free: 1.449 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003202/0.7023, allocations: 2.654 MB / 0.7401 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/0.7028, allocations: 276.8 kB / 0.7404 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.7028, allocations: 8.578 kB / 0.7404 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004135/0.7032, allocations: 208.4 kB / 0.7406 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=39): time 3.056e-06/0.7032, allocations: 0 / 0.7406 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.0008741/0.7041, allocations: 437.9 kB / 0.741 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.7042, allocations: 85.11 kB / 0.7411 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007478/0.705, allocations: 0.6246 MB / 0.7417 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.705, allocations: 45.7 kB / 0.7418 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.7053, allocations: 368.3 kB / 0.7421 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.647e-05/0.7054, allocations: 102.7 kB / 0.7422 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.7054, allocations: 8 kB / 0.7422 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.7057, allocations: 386.8 kB / 0.7426 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.7059, allocations: 129.2 kB / 0.7427 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.7066, allocations: 343.8 kB / 0.743 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.7069, allocations: 144.8 kB / 0.7432 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.7069, allocations: 7.953 kB / 0.7432 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00102/0.7079, allocations: 0.5183 MB / 0.7437 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.708, allocations: 8 kB / 0.7437 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.708, allocations: 8 kB / 0.7437 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.708, allocations: 8 kB / 0.7437 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.7083, allocations: 80.45 kB / 0.7438 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.7084, allocations: 15.94 kB / 0.7438 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.7086, allocations: 59.52 kB / 0.7439 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/0.7087, allocations: 28 kB / 0.7439 GB, free: 10.66 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.warUpCtr.timer.yAcc,warUpCtr.timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition4,$whenCondition2,$whenCondition3,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,transition2.enableFire,transition3.enableFire,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.active,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire,$PRE.warUpCtr.timer.reset_internal,warUpCtr.timer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005765/0.7093, allocations: 261.6 kB / 0.7441 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.41e-05/0.7094, allocations: 67.11 kB / 0.7442 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007194/0.7101, allocations: 395.4 kB / 0.7446 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.7101, allocations: 4 kB / 0.7446 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7101, allocations: 0 / 0.7446 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.7101, allocations: 3.984 kB / 0.7446 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.7117, allocations: 1.044 MB / 0.7456 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.7117, allocations: 3.938 kB / 0.7456 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.7118, allocations: 35.91 kB / 0.7456 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.7118, allocations: 4 kB / 0.7456 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.7118, allocations: 4 kB / 0.7457 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.7118, allocations: 4 kB / 0.7457 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7119, allocations: 0 / 0.7457 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000686/0.7125, allocations: 466.9 kB / 0.7461 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.7127, allocations: 136.2 kB / 0.7462 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.766e-05/0.7128, allocations: 12 kB / 0.7462 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.7129, allocations: 19.98 kB / 0.7463 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.7131, allocations: 47.86 kB / 0.7463 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.7131, allocations: 16 kB / 0.7463 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004552/0.7136, allocations: 403 kB / 0.7467 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7136, allocations: 4 kB / 0.7467 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005402/0.7141, allocations: 127.7 kB / 0.7468 GB, free: 7.539 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,transition2.enableFire,transition3.enableFire,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.timer.entryTime,warUpCtr.timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/0.7153, allocations: 453.2 kB / 0.7473 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009319/0.7162, allocations: 391.6 kB / 0.7476 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7162, allocations: 0 / 0.7476 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.7166, allocations: 164.2 kB / 0.7478 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.717, allocations: 82.89 kB / 0.7479 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.7191, allocations: 1.267 MB / 0.7491 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/0.7199, allocations: 0.9549 MB / 0.75 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002645/0.7202, allocations: 72.31 kB / 0.7501 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.7203, allocations: 47.42 kB / 0.7502 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.7203, allocations: 0 / 0.7502 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of Templates: time 0.0133/0.7336, allocations: 4.995 MB / 0.755 GB, free: 15.28 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) Environment - environmentSimulation: