Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006483/0.006483, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001366/0.001366, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.616/1.616, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.647/1.647, allocations: 251.7 MB / 0.5094 GB, free: 3.07 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.001552/0.001552, allocations: 71.91 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2347, allocations: 104.7 MB / 0.8281 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.005256/0.24, allocations: 2.891 MB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00326/0.2433, allocations: 1.612 MB / 0.8325 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/0.2438, allocations: 15.94 kB / 0.8325 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.2452, allocations: 310.4 kB / 0.8328 GB, free: 11.32 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0007697/0.246, allocations: 186.9 kB / 0.8329 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.2471, allocations: 353.8 kB / 0.8333 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.2482, allocations: 0.7379 MB / 0.834 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008098/0.249, allocations: 460.4 kB / 0.8344 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.2495, allocations: 267 kB / 0.8347 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.2499, allocations: 278.7 kB / 0.835 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.25, allocations: 56 kB / 0.835 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.2503, allocations: 111.9 kB / 0.8351 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.2505, allocations: 199.3 kB / 0.8353 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.2509, allocations: 318 kB / 0.8356 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.252, allocations: 0.8017 MB / 0.8364 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.252, allocations: 0 / 0.8364 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.252, allocations: 0 / 0.8364 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.664e-05/0.2521, allocations: 0 / 0.8364 GB, free: 7.594 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002115/0.2542, allocations: 1.025 MB / 0.8374 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.2543, allocations: 16.03 kB / 0.8374 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.2545, allocations: 87.81 kB / 0.8375 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009017/0.2554, allocations: 0.4889 MB / 0.838 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.2556, allocations: 79.52 kB / 0.8381 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.673e-05/0.2557, allocations: 63.92 kB / 0.8381 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.2568, allocations: 0.6091 MB / 0.8387 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.2568, allocations: 0 / 0.8387 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.2569, allocations: 27.98 kB / 0.8387 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.2569, allocations: 12 kB / 0.8388 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007286/0.2577, allocations: 383.5 kB / 0.8391 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.2605, allocations: 2.557 MB / 0.8416 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006178/0.2611, allocations: 272.5 kB / 0.8419 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.2613, allocations: 136.8 kB / 0.842 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.2614, allocations: 7.984 kB / 0.842 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003796/0.2618, allocations: 213.7 kB / 0.8422 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.2618, allocations: 0 / 0.8422 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0008555/0.2627, allocations: 457.8 kB / 0.8427 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.2627, allocations: 81.11 kB / 0.8427 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007456/0.2635, allocations: 0.6286 MB / 0.8433 GB, free: 148 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.2635, allocations: 49.69 kB / 0.8434 GB, free: 92 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.2639, allocations: 372.2 kB / 0.8437 GB, free: 15.72 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.2641, allocations: 98.8 kB / 0.8438 GB, free: 15.62 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.2643, allocations: 150.3 kB / 0.844 GB, free: 15.47 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.2645, allocations: 374.8 kB / 0.8443 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.2648, allocations: 137.2 kB / 0.8445 GB, free: 14.96 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/0.2653, allocations: 343.8 kB / 0.8448 GB, free: 14.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.2659, allocations: 437.5 kB / 0.8452 GB, free: 14.02 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.2659, allocations: 0 / 0.8452 GB, free: 14.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001009/0.267, allocations: 0.5337 MB / 0.8457 GB, free: 13.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.267, allocations: 11.94 kB / 0.8457 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.267, allocations: 8.812 kB / 0.8458 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/0.2671, allocations: 8 kB / 0.8458 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.2673, allocations: 79.83 kB / 0.8458 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/0.2673, allocations: 11.94 kB / 0.8459 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.2677, allocations: 59.47 kB / 0.8459 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.2677, allocations: 31.98 kB / 0.8459 GB, free: 13.27 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,timer.yAcc,$PRE.timer.yAcc,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,timer.reset_internal,$PRE.timer.reset_internal,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,transition2.localCondition,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition3,$whenCondition2,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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 0.0004292/0.2682, allocations: 266.8 kB / 0.8462 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.2683, allocations: 67.09 kB / 0.8463 GB, free: 12.94 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008001/0.2691, allocations: 398.8 kB / 0.8466 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.2691, allocations: 4 kB / 0.8466 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2691, allocations: 0 / 0.8466 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.2692, allocations: 3.984 kB / 0.8466 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.2709, allocations: 1.04 MB / 0.8477 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.271, allocations: 0 / 0.8477 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.2711, allocations: 23.92 kB / 0.8477 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2711, allocations: 3.938 kB / 0.8477 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.2711, allocations: 19.98 kB / 0.8477 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.2712, allocations: 4 kB / 0.8477 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2712, allocations: 0 / 0.8477 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007934/0.272, allocations: 479.8 kB / 0.8482 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.2721, allocations: 140.2 kB / 0.8483 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.209e-05/0.2722, allocations: 8 kB / 0.8483 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.2724, allocations: 15.98 kB / 0.8483 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.2726, allocations: 39.95 kB / 0.8484 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.2726, allocations: 15.98 kB / 0.8484 GB, free: 10.66 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005621/0.2732, allocations: 419 kB / 0.8488 GB, free: 10.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2732, allocations: 0 / 0.8488 GB, free: 10.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006755/0.2739, allocations: 139.6 kB / 0.8489 GB, free: 10.12 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 (off.active,norm.active,cooDow.localActive,cooDow.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.localCondition,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.entryTime,timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001347/0.2752, allocations: 460.7 kB / 0.8494 GB, free: 9.82 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008594/0.2761, allocations: 389.9 kB / 0.8497 GB, free: 9.438 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.2761, allocations: 0 / 0.8497 GB, free: 9.438 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.2765, allocations: 177.1 kB / 0.8499 GB, free: 9.266 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.2771, allocations: 86.94 kB / 0.85 GB, free: 9.184 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.2791, allocations: 1.096 MB / 0.851 GB, free: 8.055 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.2798, allocations: 0.9338 MB / 0.852 GB, free: 7.098 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002958/0.2801, allocations: 88.3 kB / 0.852 GB, free: 7.008 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.2802, allocations: 47.42 kB / 0.8521 GB, free: 6.961 MB / 0.67 GB Notification: Performance of SimCode: time 8.62e-07/0.2802, allocations: 0 / 0.8521 GB, free: 6.961 MB / 0.67 GB Notification: Performance of Templates: time 0.01367/0.2939, allocations: 5.483 MB / 0.8574 GB, free: 1.531 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)