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.0008702/0.0008701, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006266/0.006267, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.55/1.55, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.544/1.544, allocations: 252 MB / 0.5105 GB, free: 4.652 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.0005309/0.0005309, allocations: 12 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5997/0.6003, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005922/0.6063, allocations: 2.682 MB / 0.7313 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003994/0.6103, allocations: 1.686 MB / 0.733 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008422/0.6112, allocations: 11.94 kB / 0.733 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.6128, allocations: 399.1 kB / 0.7334 GB, free: 6.484 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009732/0.6138, allocations: 231.1 kB / 0.7336 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.6152, allocations: 397.3 kB / 0.734 GB, free: 5.875 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.6165, allocations: 0.7758 MB / 0.7347 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008537/0.6173, allocations: 414.7 kB / 0.7351 GB, free: 4.691 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/0.6177, allocations: 242.9 kB / 0.7354 GB, free: 4.453 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.6181, allocations: 278.5 kB / 0.7356 GB, free: 4.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/0.6181, allocations: 24 kB / 0.7357 GB, free: 4.156 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.6184, allocations: 75.95 kB / 0.7357 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.6186, allocations: 179.3 kB / 0.7359 GB, free: 3.906 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002955/0.6189, allocations: 331.5 kB / 0.7362 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007085/0.6196, allocations: 0.751 MB / 0.7369 GB, free: 2.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6196, allocations: 3.938 kB / 0.7369 GB, free: 2.816 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6196, allocations: 0 / 0.7369 GB, free: 2.816 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.6196, allocations: 0 / 0.7369 GB, free: 2.816 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.6212, allocations: 0.972 MB / 0.7379 GB, free: 1.777 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.6212, allocations: 8.031 kB / 0.7379 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.6214, allocations: 95.8 kB / 0.738 GB, free: 1.676 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.6221, allocations: 0.5126 MB / 0.7385 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.379e-05/0.6222, allocations: 79.25 kB / 0.7386 GB, free: 1.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.519e-05/0.6223, allocations: 59.88 kB / 0.7386 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009807/0.6233, allocations: 0.5424 MB / 0.7392 GB, free: 400 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.6233, allocations: 3.984 kB / 0.7392 GB, free: 396 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.6234, allocations: 24 kB / 0.7392 GB, free: 372 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.6234, allocations: 12 kB / 0.7392 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006026/0.624, allocations: 351.6 kB / 0.7395 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.6265, allocations: 2.056 MB / 0.7415 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.6272, allocations: 307.1 kB / 0.7418 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.6275, allocations: 149.5 kB / 0.742 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.6275, allocations: 4.328 kB / 0.742 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003837/0.6279, allocations: 215.4 kB / 0.7422 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.913e-06/0.628, allocations: 0 / 0.7422 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0008913/0.6288, allocations: 476 kB / 0.7426 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.6289, allocations: 114.8 kB / 0.7427 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008338/0.6298, allocations: 0.7461 MB / 0.7435 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.6298, allocations: 45.7 kB / 0.7435 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.6302, allocations: 376.6 kB / 0.7439 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.6303, allocations: 114.6 kB / 0.744 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.737e-05/0.6304, allocations: 89.67 kB / 0.7441 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.6307, allocations: 390.7 kB / 0.7444 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.6309, allocations: 133.2 kB / 0.7446 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.6313, allocations: 328.3 kB / 0.7449 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.6319, allocations: 390 kB / 0.7453 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6319, allocations: 4 kB / 0.7453 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007974/0.6327, allocations: 0.5105 MB / 0.7458 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.6327, allocations: 11.94 kB / 0.7458 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6327, allocations: 4 kB / 0.7458 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.6328, allocations: 8 kB / 0.7458 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.633, allocations: 79.77 kB / 0.7459 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.6331, allocations: 8.562 kB / 0.7459 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.6333, allocations: 63.42 kB / 0.7459 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.342e-05/0.6334, allocations: 31.98 kB / 0.746 GB, free: 9.09 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.000324/0.6337, allocations: 286.8 kB / 0.7462 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.6338, allocations: 67.16 kB / 0.7463 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000741/0.6345, allocations: 427.5 kB / 0.7467 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.6345, allocations: 8 kB / 0.7467 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6345, allocations: 0 / 0.7467 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.6346, allocations: 3.984 kB / 0.7467 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.6362, allocations: 1.064 MB / 0.7478 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6362, allocations: 0 / 0.7478 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.6364, allocations: 31.92 kB / 0.7478 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.6364, allocations: 4 kB / 0.7478 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.6364, allocations: 11.98 kB / 0.7478 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.6364, allocations: 0 / 0.7478 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6364, allocations: 3.938 kB / 0.7478 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006623/0.6371, allocations: 0.4913 MB / 0.7483 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.6372, allocations: 148.1 kB / 0.7484 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.6373, allocations: 19.98 kB / 0.7484 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.6375, allocations: 15.98 kB / 0.7485 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.6376, allocations: 44.33 kB / 0.7485 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.6377, allocations: 23.98 kB / 0.7485 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005797/0.6383, allocations: 0.4951 MB / 0.749 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6383, allocations: 0 / 0.749 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005169/0.6388, allocations: 139.6 kB / 0.7491 GB, free: 5.723 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.001063/0.6399, allocations: 462.3 kB / 0.7496 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007766/0.6407, allocations: 385.7 kB / 0.75 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6407, allocations: 4 kB / 0.75 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.641, allocations: 178.7 kB / 0.7501 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.6417, allocations: 118.6 kB / 0.7502 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.6437, allocations: 1.445 MB / 0.7517 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007477/0.6444, allocations: 0.9536 MB / 0.7526 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002894/0.6447, allocations: 104.8 kB / 0.7527 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.6449, allocations: 51.42 kB / 0.7527 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.6449, allocations: 0 / 0.7527 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of Templates: time 0.01258/0.6575, allocations: 6.282 MB / 0.7589 GB, free: 11.92 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: