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.001038/0.001038, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001066/0.001066, allocations: 198.8 kB / 16.14 MB, free: 6.656 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.589/1.589, allocations: 205.1 MB / 222 MB, free: 4.75 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.547/1.547, allocations: 251.6 MB / 0.5088 GB, free: 3.281 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.001625/0.001625, allocations: 59.92 kB / 0.6216 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7193/0.721, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005274/0.7263, allocations: 3.06 MB / 0.7268 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002997/0.7293, allocations: 1.709 MB / 0.7285 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00029/0.7296, allocations: 11.94 kB / 0.7285 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.7309, allocations: 400.6 kB / 0.7289 GB, free: 7.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.7315, allocations: 235.1 kB / 0.7291 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.7327, allocations: 389.7 kB / 0.7295 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008458/0.7335, allocations: 0.7758 MB / 0.7302 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005701/0.7341, allocations: 444.3 kB / 0.7306 GB, free: 6.113 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003203/0.7344, allocations: 270.8 kB / 0.7309 GB, free: 5.848 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.7348, allocations: 306.5 kB / 0.7312 GB, free: 5.547 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.155e-05/0.7349, allocations: 40 kB / 0.7312 GB, free: 5.508 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.7351, allocations: 99.89 kB / 0.7313 GB, free: 5.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.7354, allocations: 195.3 kB / 0.7315 GB, free: 5.219 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.7357, allocations: 321.8 kB / 0.7318 GB, free: 4.902 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008323/0.7365, allocations: 0.7746 MB / 0.7326 GB, free: 4.125 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.7366, allocations: 0 / 0.7326 GB, free: 4.125 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7366, allocations: 0 / 0.7326 GB, free: 4.125 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.7366, allocations: 0 / 0.7326 GB, free: 4.125 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.00193/0.7385, allocations: 1.12 MB / 0.7337 GB, free: 2.938 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.7386, allocations: 12.03 kB / 0.7337 GB, free: 2.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.7388, allocations: 91.81 kB / 0.7338 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/0.7395, allocations: 0.5087 MB / 0.7343 GB, free: 2.289 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-05/0.7396, allocations: 79.25 kB / 0.7343 GB, free: 2.203 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/0.7397, allocations: 51.94 kB / 0.7344 GB, free: 2.152 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009177/0.7406, allocations: 0.5385 MB / 0.7349 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.7406, allocations: 7.938 kB / 0.7349 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.7407, allocations: 23.98 kB / 0.7349 GB, free: 1.535 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.7407, allocations: 19.94 kB / 0.735 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.7413, allocations: 343.7 kB / 0.7353 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.7437, allocations: 2.056 MB / 0.7373 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005983/0.7443, allocations: 304 kB / 0.7376 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.7446, allocations: 153.5 kB / 0.7377 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.7447, allocations: 8.312 kB / 0.7377 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003966/0.7451, allocations: 211.3 kB / 0.7379 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.934e-06/0.7451, allocations: 0 / 0.7379 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009625/0.746, allocations: 476 kB / 0.7384 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.7461, allocations: 114.8 kB / 0.7385 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008562/0.747, allocations: 0.75 MB / 0.7392 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.7471, allocations: 45.7 kB / 0.7393 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.7474, allocations: 376.6 kB / 0.7396 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.269e-05/0.7475, allocations: 106.6 kB / 0.7397 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.7476, allocations: 142.3 kB / 0.7399 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.7478, allocations: 386.8 kB / 0.7402 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.7481, allocations: 137.2 kB / 0.7404 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.7485, allocations: 328.3 kB / 0.7407 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005702/0.7491, allocations: 401.5 kB / 0.7411 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7491, allocations: 0 / 0.7411 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008354/0.7499, allocations: 0.5187 MB / 0.7416 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.75, allocations: 11.94 kB / 0.7416 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.75, allocations: 8.062 kB / 0.7416 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.75, allocations: 8 kB / 0.7416 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.7503, allocations: 79.83 kB / 0.7417 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.7503, allocations: 11.94 kB / 0.7417 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.7506, allocations: 55.52 kB / 0.7417 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/0.7507, allocations: 28 kB / 0.7418 GB, free: 10.2 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,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,stateGraphRoot.resume,stateGraphRoot.suspend,pumOn.outPort[2].reset,transition3.localCondition,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.fire,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[2].available,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.condition,transition1.enableFire,transition1.condition,actMod,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003648/0.751, allocations: 278.8 kB / 0.742 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.607e-05/0.7511, allocations: 71.06 kB / 0.7421 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008077/0.752, allocations: 423.6 kB / 0.7425 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.752, allocations: 4 kB / 0.7425 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.752, allocations: 0 / 0.7425 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.752, allocations: 3.984 kB / 0.7425 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.7536, allocations: 1.064 MB / 0.7436 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.7537, allocations: 48 / 0.7436 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.7538, allocations: 35.89 kB / 0.7436 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/0.7538, allocations: 4 kB / 0.7436 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.7538, allocations: 15.94 kB / 0.7436 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.7538, allocations: 4 kB / 0.7436 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.7539, allocations: 7.875 kB / 0.7436 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007069/0.7546, allocations: 499.3 kB / 0.7441 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.7547, allocations: 144 kB / 0.7442 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.7548, allocations: 15.98 kB / 0.7443 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.755, allocations: 15.98 kB / 0.7443 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.7551, allocations: 44.33 kB / 0.7443 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.7551, allocations: 19.98 kB / 0.7443 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005722/0.7557, allocations: 0.4951 MB / 0.7448 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7557, allocations: 4 kB / 0.7448 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005383/0.7563, allocations: 131.7 kB / 0.7449 GB, free: 6.852 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 (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.001195/0.7575, allocations: 456.4 kB / 0.7454 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006708/0.7582, allocations: 393.5 kB / 0.7458 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7582, allocations: 3.938 kB / 0.7458 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.7585, allocations: 174.4 kB / 0.7459 GB, free: 6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.7591, allocations: 116.3 kB / 0.746 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.7612, allocations: 1.427 MB / 0.7474 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007408/0.7619, allocations: 0.9536 MB / 0.7484 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003074/0.7622, allocations: 104.7 kB / 0.7485 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.7624, allocations: 51.42 kB / 0.7485 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.7624, allocations: 0 / 0.7485 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of Templates: time 0.01366/0.776, allocations: 6.339 MB / 0.7547 GB, free: 13.02 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (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)