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.01077/0.01077, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.002157/0.002158, allocations: 198.1 kB / 16.68 MB, free: 5.953 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.737/1.737, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.635/1.635, allocations: 251.7 MB / 0.5094 GB, free: 3.004 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.001446/0.001446, allocations: 71.89 kB / 0.7258 GB, free: 8.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2449, 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.004602/0.2496, allocations: 2.898 MB / 0.8309 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.2525, allocations: 1.612 MB / 0.8325 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.2528, allocations: 11.94 kB / 0.8325 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.2538, allocations: 318.4 kB / 0.8328 GB, free: 11.31 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.0004309/0.2543, allocations: 182.9 kB / 0.833 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007725/0.255, allocations: 358.7 kB / 0.8333 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006973/0.2558, allocations: 0.734 MB / 0.834 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005359/0.2563, allocations: 464.4 kB / 0.8345 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.2566, allocations: 267 kB / 0.8347 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.2569, allocations: 278.7 kB / 0.835 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.647e-05/0.257, allocations: 52 kB / 0.835 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.2572, allocations: 111.9 kB / 0.8351 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.2574, allocations: 199.4 kB / 0.8353 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.2577, allocations: 322 kB / 0.8356 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008323/0.2585, allocations: 0.8017 MB / 0.8364 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2586, allocations: 0 / 0.8364 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2586, allocations: 0 / 0.8364 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.2586, allocations: 0 / 0.8364 GB, free: 7.582 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.00144/0.26, allocations: 1.021 MB / 0.8374 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2601, allocations: 12.03 kB / 0.8374 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.2602, allocations: 87.81 kB / 0.8375 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.2609, allocations: 0.4928 MB / 0.838 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.631e-05/0.261, allocations: 75.58 kB / 0.8381 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.2611, allocations: 63.94 kB / 0.8381 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008988/0.262, allocations: 0.6052 MB / 0.8387 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.262, allocations: 0 / 0.8387 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.2621, allocations: 31.98 kB / 0.8387 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2621, allocations: 12 kB / 0.8388 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.2627, allocations: 379.6 kB / 0.8391 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.2651, allocations: 2.557 MB / 0.8416 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.2657, allocations: 278.9 kB / 0.8419 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.266, allocations: 132.8 kB / 0.842 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.266, allocations: 7.984 kB / 0.842 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000377/0.2664, allocations: 209.7 kB / 0.8422 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/0.2664, allocations: 4 kB / 0.8422 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0008452/0.2673, allocations: 453.8 kB / 0.8426 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.2673, allocations: 85.09 kB / 0.8427 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.268, allocations: 0.6325 MB / 0.8433 GB, free: 140 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.2681, allocations: 49.62 kB / 0.8434 GB, free: 84 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.2684, allocations: 368.2 kB / 0.8437 GB, free: 15.71 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.727e-05/0.2685, allocations: 98.78 kB / 0.8438 GB, free: 15.62 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.2687, allocations: 146.3 kB / 0.844 GB, free: 15.47 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2688, allocations: 382.8 kB / 0.8443 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.2691, allocations: 133.2 kB / 0.8445 GB, free: 14.95 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.2695, allocations: 347.8 kB / 0.8448 GB, free: 14.53 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005634/0.2701, allocations: 433.5 kB / 0.8452 GB, free: 14.02 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2701, allocations: 3.938 kB / 0.8452 GB, free: 14.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.000816/0.2709, allocations: 0.5301 MB / 0.8457 GB, free: 13.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2709, allocations: 11.94 kB / 0.8457 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.2709, allocations: 11.98 kB / 0.8458 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.271, allocations: 8 kB / 0.8458 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.2712, allocations: 79.83 kB / 0.8458 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/0.2712, allocations: 12.47 kB / 0.8459 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.2715, allocations: 63.47 kB / 0.8459 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/0.2715, allocations: 31.98 kB / 0.8459 GB, free: 13.26 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.0003114/0.2719, allocations: 262.8 kB / 0.8462 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.2719, allocations: 67.09 kB / 0.8463 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006756/0.2726, allocations: 394.8 kB / 0.8466 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.2727, allocations: 4 kB / 0.8466 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2727, allocations: 4 kB / 0.8466 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2727, allocations: 3.984 kB / 0.8466 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.2741, allocations: 1.04 MB / 0.8477 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2741, allocations: 0 / 0.8477 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.2742, allocations: 27.92 kB / 0.8477 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2742, allocations: 0 / 0.8477 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.2743, allocations: 11.98 kB / 0.8477 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2743, allocations: 0 / 0.8477 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2743, allocations: 4 kB / 0.8477 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.2749, allocations: 483.8 kB / 0.8482 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.275, allocations: 144.2 kB / 0.8483 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.2751, allocations: 12 kB / 0.8483 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.2752, allocations: 11.98 kB / 0.8483 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.2754, allocations: 39.95 kB / 0.8484 GB, free: 10.67 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.2754, allocations: 15.98 kB / 0.8484 GB, free: 10.65 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004343/0.2759, allocations: 415 kB / 0.8488 GB, free: 10.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2759, allocations: 4 kB / 0.8488 GB, free: 10.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004905/0.2764, allocations: 139.6 kB / 0.8489 GB, free: 10.11 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.001073/0.2774, allocations: 454.1 kB / 0.8493 GB, free: 9.82 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007749/0.2782, allocations: 386.5 kB / 0.8497 GB, free: 9.441 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2782, allocations: 3.938 kB / 0.8497 GB, free: 9.438 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.2785, allocations: 171.6 kB / 0.8499 GB, free: 9.27 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006062/0.2791, allocations: 95.81 kB / 0.85 GB, free: 9.18 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.281, allocations: 1.099 MB / 0.851 GB, free: 8.047 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.2816, allocations: 0.9377 MB / 0.852 GB, free: 7.086 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002169/0.2819, allocations: 80.36 kB / 0.852 GB, free: 7.004 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.282, allocations: 47.42 kB / 0.8521 GB, free: 6.957 MB / 0.67 GB Notification: Performance of SimCode: time 3.21e-07/0.282, allocations: 4 kB / 0.8521 GB, free: 6.953 MB / 0.67 GB Notification: Performance of Templates: time 0.01222/0.2942, allocations: 5.475 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)