Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001295/0.001295, allocations: 190.3 kB / 17.2 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.382/1.382, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.755/1.755, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001359/0.001359, allocations: 67.91 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.235, allocations: 114.5 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.0048/0.2399, allocations: 3.024 MB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4088/0.6487, allocations: 1.714 MB / 0.7887 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003208/0.6491, allocations: 15.94 kB / 0.7887 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.6502, allocations: 428.8 kB / 0.7891 GB, free: 46.5 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.0005362/0.6508, allocations: 269.5 kB / 0.7893 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000957/0.6517, allocations: 436.2 kB / 0.7898 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006538/0.6524, allocations: 0.8014 MB / 0.7905 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004923/0.6529, allocations: 490.7 kB / 0.791 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.6532, allocations: 296.7 kB / 0.7913 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.6535, allocations: 310.3 kB / 0.7916 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.045e-05/0.6535, allocations: 55.09 kB / 0.7916 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.6538, allocations: 122.1 kB / 0.7918 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.6539, allocations: 215.4 kB / 0.792 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.6542, allocations: 349.6 kB / 0.7923 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006256/0.6548, allocations: 0.8197 MB / 0.7931 GB, free: 46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6548, allocations: 1.25 kB / 0.7931 GB, free: 46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6548, allocations: 4 kB / 0.7931 GB, free: 46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.6548, allocations: 0 / 0.7931 GB, free: 46 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001317/0.6562, allocations: 1.12 MB / 0.7942 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.6562, allocations: 12.84 kB / 0.7942 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.6563, allocations: 93.44 kB / 0.7943 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.6569, allocations: 0.5196 MB / 0.7948 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/0.657, allocations: 75.42 kB / 0.7949 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.657, allocations: 58.42 kB / 0.7949 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.6577, allocations: 0.5439 MB / 0.7955 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.6578, allocations: 3.438 kB / 0.7955 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.6578, allocations: 20.62 kB / 0.7955 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.6578, allocations: 14.19 kB / 0.7955 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.6583, allocations: 341.7 kB / 0.7958 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.6601, allocations: 2.077 MB / 0.7978 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.6606, allocations: 292.3 kB / 0.7981 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.6608, allocations: 154.5 kB / 0.7983 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.6608, allocations: 8.094 kB / 0.7983 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003702/0.6612, allocations: 209.8 kB / 0.7985 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.6612, allocations: 0 / 0.7985 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=41): time 0.0007852/0.662, allocations: 472 kB / 0.7989 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.6621, allocations: 109.2 kB / 0.799 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007193/0.6628, allocations: 0.7596 MB / 0.7998 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.6628, allocations: 43.92 kB / 0.7998 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.6631, allocations: 379.9 kB / 0.8002 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/0.6632, allocations: 111.3 kB / 0.8003 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.6633, allocations: 136.5 kB / 0.8004 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.991e-05/0.6634, allocations: 329.2 kB / 0.8007 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.6636, allocations: 133.4 kB / 0.8009 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.664, allocations: 317.6 kB / 0.8012 GB, free: 41.31 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.6645, allocations: 377.3 kB / 0.8015 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.6645, allocations: 1.5 kB / 0.8015 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007785/0.6653, allocations: 0.5007 MB / 0.802 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.6653, allocations: 8.141 kB / 0.802 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.6653, allocations: 5.062 kB / 0.802 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.6654, allocations: 9.031 kB / 0.802 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.6656, allocations: 76.41 kB / 0.8021 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.889e-05/0.6657, allocations: 14.36 kB / 0.8021 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.6659, allocations: 66.41 kB / 0.8022 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.6659, allocations: 24.48 kB / 0.8022 GB, free: 40.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,stateGraphRoot.resume,stateGraphRoot.suspend,transition3.localCondition,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,pumOn.oldActive,$PRE.pumOn.oldActive,pumOn.newActive,$PRE.pumOn.newActive,pumOn.outPort[1].reset,pumOn.localActive,$PRE.pumOn.localActive,pumOn.active,staBy.oldActive,$PRE.staBy.oldActive,staBy.newActive,$PRE.staBy.newActive,staBy.outPort[2].available,staBy.localActive,$PRE.staBy.localActive,staBy.active,transition2.enableFire,transition2.localCondition,transition1.enableFire,transition1.localCondition,actMod,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0002871/0.6662, allocations: 274.3 kB / 0.8025 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.6663, allocations: 67.97 kB / 0.8025 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007789/0.6671, allocations: 436.6 kB / 0.8029 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.6671, allocations: 4.75 kB / 0.803 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6672, allocations: 0.75 kB / 0.803 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6672, allocations: 5.25 kB / 0.803 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.6687, allocations: 1.058 MB / 0.804 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6687, allocations: 2.25 kB / 0.804 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.6688, allocations: 29.53 kB / 0.804 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.6689, allocations: 5.438 kB / 0.804 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.6689, allocations: 10.11 kB / 0.804 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.6689, allocations: 5.156 kB / 0.804 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6689, allocations: 1.578 kB / 0.804 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/0.6696, allocations: 498.6 kB / 0.8045 GB, free: 39.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.431e-05/0.6697, allocations: 149.8 kB / 0.8047 GB, free: 39.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.349e-05/0.6698, allocations: 8.625 kB / 0.8047 GB, free: 39.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.67, allocations: 25.44 kB / 0.8047 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.6701, allocations: 41.58 kB / 0.8047 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.6701, allocations: 16.59 kB / 0.8048 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005981/0.6707, allocations: 0.5037 MB / 0.8052 GB, free: 39.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6707, allocations: 0 / 0.8052 GB, free: 39.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005277/0.6713, allocations: 139 kB / 0.8054 GB, free: 39.13 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 (transition3.enableFire,off.active,pumOn.active,staBy.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.localCondition,transition1.enableFire,transition2.localCondition,transition2.enableFire,staBy.localActive,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.localActive,pumOn.outPort[1].reset,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.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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001029/0.6723, allocations: 448.1 kB / 0.8058 GB, free: 39.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009045/0.6732, allocations: 408.9 kB / 0.8062 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6732, allocations: 4.25 kB / 0.8062 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.6736, allocations: 182 kB / 0.8064 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006522/0.6742, allocations: 128.5 kB / 0.8065 GB, free: 38.81 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.6761, allocations: 1.26 MB / 0.8077 GB, free: 38.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.6766, allocations: 0.9535 MB / 0.8087 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.6768, allocations: 61.62 kB / 0.8087 GB, free: 37.4 MB / 0.6544 GB Notification: Performance of SimCode: time 8.12e-07/0.6768, allocations: 0 / 0.8087 GB, free: 37.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.01969/0.6965, allocations: 8.931 MB / 0.8174 GB, free: 36.2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)