Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001457/0.001458, allocations: 99.7 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.001857/0.001857, allocations: 177.3 kB / 15.95 MB, free: 216 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.726/1.726, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.664/1.664, allocations: 251.9 MB / 0.51 GB, free: 4.934 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.0006295/0.00063, allocations: 16 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7143/0.7149, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005283/0.7203, allocations: 2.551 MB / 0.7305 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003933/0.7243, allocations: 1.581 MB / 0.732 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007169/0.725, allocations: 11.94 kB / 0.732 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.7267, allocations: 375.3 kB / 0.7324 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009324/0.7277, allocations: 231.3 kB / 0.7326 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.7291, allocations: 350 kB / 0.7329 GB, free: 6.355 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.7301, allocations: 0.4994 MB / 0.7334 GB, free: 5.855 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005889/0.7307, allocations: 390.1 kB / 0.7338 GB, free: 5.473 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.7311, allocations: 247 kB / 0.734 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.7315, allocations: 250.8 kB / 0.7343 GB, free: 4.984 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.7316, allocations: 28 kB / 0.7343 GB, free: 4.957 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.7319, allocations: 67.95 kB / 0.7344 GB, free: 4.891 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.7321, allocations: 167.4 kB / 0.7345 GB, free: 4.727 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.7322, allocations: 145.3 kB / 0.7347 GB, free: 4.578 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005989/0.7328, allocations: 0.5865 MB / 0.7352 GB, free: 3.992 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7329, allocations: 0 / 0.7352 GB, free: 3.992 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.188e-06/0.7329, allocations: 3.984 kB / 0.7352 GB, free: 3.988 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.7329, allocations: 0 / 0.7352 GB, free: 3.988 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001544/0.7344, allocations: 0.9796 MB / 0.7362 GB, free: 2.941 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.7345, allocations: 12.03 kB / 0.7362 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.7347, allocations: 94.83 kB / 0.7363 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007329/0.7354, allocations: 0.4885 MB / 0.7368 GB, free: 2.309 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/0.7355, allocations: 66.7 kB / 0.7368 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.7356, allocations: 52 kB / 0.7369 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008075/0.7365, allocations: 0.5385 MB / 0.7374 GB, free: 1.598 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.7365, allocations: 3.938 kB / 0.7374 GB, free: 1.594 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.807e-05/0.7366, allocations: 24 kB / 0.7374 GB, free: 1.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.7366, allocations: 12 kB / 0.7374 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005922/0.7372, allocations: 347.6 kB / 0.7378 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.7395, allocations: 2.068 MB / 0.7398 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.7401, allocations: 294 kB / 0.7401 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.7402, allocations: 4.328 kB / 0.7401 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003876/0.7405, allocations: 215.3 kB / 0.7403 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.7406, allocations: 4 kB / 0.7403 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0008567/0.7414, allocations: 468 kB / 0.7407 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.7415, allocations: 114.8 kB / 0.7408 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/0.7423, allocations: 0.7383 MB / 0.7416 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.7424, allocations: 49.69 kB / 0.7416 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.7427, allocations: 376.7 kB / 0.742 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.843e-05/0.7428, allocations: 110.6 kB / 0.7421 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.7429, allocations: 12 kB / 0.7421 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.743, allocations: 390.7 kB / 0.7425 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.7433, allocations: 145.2 kB / 0.7426 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.7437, allocations: 320.3 kB / 0.7429 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.744, allocations: 140.7 kB / 0.743 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.744, allocations: 8 kB / 0.743 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008634/0.7449, allocations: 0.5071 MB / 0.7435 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.7449, allocations: 12 kB / 0.7436 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.745, allocations: 4 kB / 0.7436 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.745, allocations: 8 kB / 0.7436 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.7452, allocations: 75.78 kB / 0.7436 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.7453, allocations: 7.984 kB / 0.7436 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.7456, allocations: 67.42 kB / 0.7437 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.7456, allocations: 24 kB / 0.7437 GB, free: 10.86 MB / 0.5606 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.0003975/0.746, allocations: 286.8 kB / 0.744 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.577e-05/0.7461, allocations: 71.16 kB / 0.7441 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000729/0.7469, allocations: 423.6 kB / 0.7445 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.7469, allocations: 4 kB / 0.7445 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.7469, allocations: 0 / 0.7445 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.7469, allocations: 0 / 0.7445 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.7486, allocations: 1.068 MB / 0.7455 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.7486, allocations: 0 / 0.7455 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.7487, allocations: 31.92 kB / 0.7456 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.7487, allocations: 0 / 0.7456 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.7488, allocations: 11.98 kB / 0.7456 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.7488, allocations: 4 kB / 0.7456 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7488, allocations: 4 kB / 0.7456 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007927/0.7496, allocations: 0.4913 MB / 0.7461 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.7498, allocations: 152 kB / 0.7462 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-05/0.7499, allocations: 12 kB / 0.7462 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.7501, allocations: 19.98 kB / 0.7462 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.7502, allocations: 48.36 kB / 0.7463 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.7503, allocations: 20 kB / 0.7463 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006072/0.7509, allocations: 0.4912 MB / 0.7468 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7509, allocations: 0 / 0.7468 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00055/0.7515, allocations: 135.7 kB / 0.7469 GB, free: 7.496 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 (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.001137/0.7526, allocations: 463.2 kB / 0.7473 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007924/0.7534, allocations: 384.7 kB / 0.7477 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.7534, allocations: 0 / 0.7477 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003876/0.7538, allocations: 178.4 kB / 0.7479 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.7544, allocations: 104.2 kB / 0.748 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.7566, allocations: 1.368 MB / 0.7493 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/0.7574, allocations: 0.9773 MB / 0.7503 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003295/0.7577, allocations: 100.7 kB / 0.7504 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.7579, allocations: 59.42 kB / 0.7504 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.7579, allocations: 0 / 0.7504 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.01513/0.773, allocations: 6.084 MB / 0.7564 GB, free: 13.96 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) Environment - environmentSimulation: