Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.355/2.355, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 185 kB / 325.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.594/2.594, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009516/0.0009511, allocations: 84.48 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006688/0.0006689, allocations: 15.09 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2166, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.004029/0.2207, allocations: 2.582 MB / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003513/0.2243, allocations: 1.62 MB / 0.9031 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/0.2248, allocations: 11.94 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.2262, allocations: 379.6 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007813/0.227, allocations: 220.1 kB / 0.9037 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.2285, allocations: 362 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.2297, allocations: 0.7173 MB / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006919/0.2304, allocations: 410 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.2307, allocations: 247 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.2311, allocations: 266.7 kB / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.153e-05/0.2312, allocations: 20 kB / 0.9057 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.2315, allocations: 83.89 kB / 0.9058 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.2318, allocations: 171.4 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.2319, allocations: 141.3 kB / 0.9061 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007153/0.2326, allocations: 0.5809 MB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2327, allocations: 0 / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2327, allocations: 0 / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.2327, allocations: 0 / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001741/0.2344, allocations: 0.9837 MB / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2345, allocations: 16.03 kB / 0.9076 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.2347, allocations: 91.81 kB / 0.9077 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/0.2355, allocations: 497.6 kB / 0.9082 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.2357, allocations: 67.27 kB / 0.9082 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.43e-05/0.2358, allocations: 59.92 kB / 0.9083 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.2369, allocations: 0.5385 MB / 0.9088 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.2369, allocations: 3.938 kB / 0.9088 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/0.237, allocations: 16 kB / 0.9088 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.237, allocations: 12 kB / 0.9088 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000904/0.2379, allocations: 355.7 kB / 0.9092 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/0.2407, allocations: 2.064 MB / 0.9112 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008025/0.2416, allocations: 300.2 kB / 0.9115 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.242, allocations: 153.5 kB / 0.9116 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.345e-05/0.242, allocations: 8.328 kB / 0.9116 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005153/0.2426, allocations: 215.1 kB / 0.9118 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 4.157e-06/0.2426, allocations: 0 / 0.9118 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.001305/0.2439, allocations: 464.2 kB / 0.9123 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.244, allocations: 114.8 kB / 0.9124 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.245, allocations: 0.7423 MB / 0.9131 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/0.2451, allocations: 41.7 kB / 0.9132 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.2455, allocations: 388.5 kB / 0.9135 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.2456, allocations: 106.6 kB / 0.9136 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.2456, allocations: 16 kB / 0.9136 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2458, allocations: 386.8 kB / 0.914 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.2462, allocations: 133.2 kB / 0.9141 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.2467, allocations: 328.4 kB / 0.9144 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.2471, allocations: 148.6 kB / 0.9146 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.2471, allocations: 0 / 0.9146 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001225/0.2484, allocations: 0.5143 MB / 0.9151 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.2484, allocations: 8.625 kB / 0.9151 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.2484, allocations: 7.938 kB / 0.9151 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/0.2485, allocations: 12 kB / 0.9151 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.2489, allocations: 75.83 kB / 0.9152 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.249, allocations: 8 kB / 0.9152 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.2494, allocations: 59.52 kB / 0.9153 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.2495, allocations: 28 kB / 0.9153 GB, free: 48.32 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,pumOn.outPort[2].reset,$whenCondition3,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,pumOn.active,$PRE.pumOn.localActive,pumOn.localActive,pumOn.outPort[2].available,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition3.localCondition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0004697/0.25, allocations: 282.7 kB / 0.9156 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.2501, allocations: 75.09 kB / 0.9156 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.2512, allocations: 419.6 kB / 0.916 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.2512, allocations: 4 kB / 0.916 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.2513, allocations: 0 / 0.916 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.2513, allocations: 3.984 kB / 0.916 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.2533, allocations: 1.068 MB / 0.9171 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.2534, allocations: 8 kB / 0.9171 GB, free: 46.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.2536, allocations: 27.92 kB / 0.9171 GB, free: 46.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.2536, allocations: 4 kB / 0.9171 GB, free: 46.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.2537, allocations: 8 kB / 0.9171 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.2537, allocations: 0 / 0.9171 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2537, allocations: 7.922 kB / 0.9171 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009374/0.2546, allocations: 0.4913 MB / 0.9176 GB, free: 45.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.2548, allocations: 152 kB / 0.9178 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.2549, allocations: 12 kB / 0.9178 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.2552, allocations: 15.98 kB / 0.9178 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.2554, allocations: 52.3 kB / 0.9178 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.2555, allocations: 19.98 kB / 0.9178 GB, free: 45.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007577/0.2562, allocations: 0.4912 MB / 0.9183 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2563, allocations: 4 kB / 0.9183 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006885/0.257, allocations: 139.7 kB / 0.9185 GB, free: 44.95 MB / 0.6042 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 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,pumOn.outPort[2].available,pumOn.newActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001296/0.2583, allocations: 451.1 kB / 0.9189 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.2593, allocations: 389.3 kB / 0.9193 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2594, allocations: 0 / 0.9193 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004561/0.2598, allocations: 178.4 kB / 0.9194 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.2608, allocations: 115.1 kB / 0.9195 GB, free: 44.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.2633, allocations: 1.367 MB / 0.9209 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.2639, allocations: 0.9579 MB / 0.9218 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004988/0.2644, allocations: 96.77 kB / 0.9219 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.2646, allocations: 51.42 kB / 0.922 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/0.2646, allocations: 0 / 0.922 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of Templates: time 0.01853/0.2832, allocations: 6.105 MB / 0.9279 GB, free: 35.41 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)