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.001296/0.001303, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001506/0.001506, allocations: 168.7 kB / 15.95 MB, free: 204 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.508/1.508, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.589/1.589, allocations: 252 MB / 0.5102 GB, free: 4.91 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.0005378/0.0005378, allocations: 19.94 kB / 0.6243 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5694/0.57, allocations: 106.3 MB / 0.7281 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.003953/0.574, allocations: 2.575 MB / 0.7306 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002919/0.577, allocations: 1.627 MB / 0.7322 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.5773, allocations: 11.94 kB / 0.7322 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.5783, allocations: 378.6 kB / 0.7326 GB, free: 6.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004935/0.5788, allocations: 219.1 kB / 0.7328 GB, free: 6.648 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009997/0.5798, allocations: 360.4 kB / 0.7332 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008715/0.5807, allocations: 0.7211 MB / 0.7339 GB, free: 5.578 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004936/0.5812, allocations: 386 kB / 0.7342 GB, free: 5.199 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.5815, allocations: 247 kB / 0.7345 GB, free: 4.957 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.5818, allocations: 266.7 kB / 0.7347 GB, free: 4.695 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.5819, allocations: 20 kB / 0.7347 GB, free: 4.676 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.5821, allocations: 83.89 kB / 0.7348 GB, free: 4.594 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.5823, allocations: 171.4 kB / 0.735 GB, free: 4.426 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.5824, allocations: 141.3 kB / 0.7351 GB, free: 4.281 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000655/0.5831, allocations: 0.5826 MB / 0.7357 GB, free: 3.699 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.5831, allocations: 3.938 kB / 0.7357 GB, free: 3.695 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5831, allocations: 3.938 kB / 0.7357 GB, free: 3.691 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.5831, allocations: 0 / 0.7357 GB, free: 3.691 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.0016/0.5848, allocations: 0.9791 MB / 0.7367 GB, free: 2.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5848, allocations: 16.03 kB / 0.7367 GB, free: 2.633 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.585, allocations: 94.83 kB / 0.7368 GB, free: 2.539 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000776/0.5858, allocations: 496.3 kB / 0.7372 GB, free: 2.016 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.5859, allocations: 66.7 kB / 0.7373 GB, free: 1.941 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/0.586, allocations: 55.98 kB / 0.7374 GB, free: 1.887 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.587, allocations: 0.5385 MB / 0.7379 GB, free: 1.301 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.5871, allocations: 0 / 0.7379 GB, free: 1.301 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/0.5871, allocations: 20 kB / 0.7379 GB, free: 1.281 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.5871, allocations: 15.98 kB / 0.7379 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/0.5878, allocations: 359.6 kB / 0.7383 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.59, allocations: 2.06 MB / 0.7403 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.5905, allocations: 296 kB / 0.7405 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.5908, allocations: 159.7 kB / 0.7407 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.5908, allocations: 4.328 kB / 0.7407 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004253/0.5913, allocations: 215.3 kB / 0.7409 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 2.284e-06/0.5913, allocations: 0 / 0.7409 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009342/0.5922, allocations: 468 kB / 0.7414 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.89e-05/0.5923, allocations: 114.8 kB / 0.7415 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008376/0.5932, allocations: 0.7422 MB / 0.7422 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.5932, allocations: 45.7 kB / 0.7422 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.5935, allocations: 376.7 kB / 0.7426 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.5936, allocations: 110.6 kB / 0.7427 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.5936, allocations: 12 kB / 0.7427 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5938, allocations: 394.6 kB / 0.7431 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.5941, allocations: 133.2 kB / 0.7432 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.5944, allocations: 324.4 kB / 0.7435 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.5947, allocations: 144.7 kB / 0.7437 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5948, allocations: 3.938 kB / 0.7437 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008216/0.5956, allocations: 0.5104 MB / 0.7442 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5956, allocations: 8.625 kB / 0.7442 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.5956, allocations: 4 kB / 0.7442 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.5957, allocations: 16 kB / 0.7442 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.5959, allocations: 71.83 kB / 0.7443 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.596, allocations: 11.98 kB / 0.7443 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.5962, allocations: 67.42 kB / 0.7443 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.5963, allocations: 24 kB / 0.7444 GB, free: 10.39 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.0003345/0.5966, allocations: 286.8 kB / 0.7446 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/0.5967, allocations: 67.16 kB / 0.7447 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007232/0.5974, allocations: 419.6 kB / 0.7451 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.5975, allocations: 4 kB / 0.7451 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5975, allocations: 4 kB / 0.7451 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.5975, allocations: 3.984 kB / 0.7451 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.599, allocations: 1.072 MB / 0.7462 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.599, allocations: 3.938 kB / 0.7462 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.5992, allocations: 31.92 kB / 0.7462 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.5992, allocations: 0 / 0.7462 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.5992, allocations: 8 kB / 0.7462 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.5992, allocations: 0 / 0.7462 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/0.5992, allocations: 7.922 kB / 0.7462 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.6, allocations: 0.4913 MB / 0.7467 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.6001, allocations: 152 kB / 0.7468 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.6002, allocations: 15.98 kB / 0.7468 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.6004, allocations: 12 kB / 0.7469 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.6005, allocations: 52.36 kB / 0.7469 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.6006, allocations: 19.98 kB / 0.7469 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006032/0.6012, allocations: 499 kB / 0.7474 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6012, allocations: 4 kB / 0.7474 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005785/0.6018, allocations: 139.6 kB / 0.7475 GB, free: 7.031 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.001114/0.6029, allocations: 455.6 kB / 0.748 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007448/0.6036, allocations: 389.3 kB / 0.7483 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6036, allocations: 0 / 0.7483 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002876/0.6039, allocations: 174.4 kB / 0.7485 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006312/0.6046, allocations: 108 kB / 0.7486 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.6066, allocations: 1.371 MB / 0.75 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.6071, allocations: 0.954 MB / 0.7509 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003112/0.6075, allocations: 96.77 kB / 0.751 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.6076, allocations: 51.42 kB / 0.751 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.6076, allocations: 0 / 0.751 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of Templates: time 0.01203/0.6196, allocations: 6.101 MB / 0.757 GB, free: 13.51 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: