Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001118/0.001118, 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.001296/0.001296, allocations: 194.9 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.655/1.655, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.107/3.107, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 66.94 kB / 0.9114 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4339, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005502/0.4395, allocations: 3.119 MB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003333/0.4428, allocations: 1.798 MB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004818/0.4433, allocations: 11.94 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.4448, allocations: 411 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008517/0.4457, allocations: 227.2 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.4471, allocations: 430.2 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001274/0.4484, allocations: 0.7912 MB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009864/0.4494, allocations: 461.7 kB / 1.075 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006194/0.45, allocations: 278.8 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005643/0.4506, allocations: 310.5 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.4508, allocations: 32 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.4511, allocations: 99.89 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.4513, allocations: 211.2 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004435/0.4518, allocations: 321.8 kB / 1.076 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008661/0.4526, allocations: 0.794 MB / 1.077 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4527, allocations: 0 / 1.077 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4527, allocations: 3.938 kB / 1.077 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.901e-05/0.4527, allocations: 0 / 1.077 GB, free: 1.688 MB / 0.8262 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.002391/0.4551, allocations: 1.124 MB / 1.078 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.4552, allocations: 12.03 kB / 1.078 GB, free: 492 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002757/0.4554, allocations: 99.73 kB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009807/0.4564, allocations: 0.5127 MB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.4565, allocations: 71.27 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.4567, allocations: 59.92 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.4583, allocations: 0.5541 MB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.4584, allocations: 0 / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/0.4585, allocations: 20 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.4585, allocations: 12 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.4596, allocations: 343.7 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/0.4637, allocations: 1.932 MB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009991/0.4647, allocations: 347.4 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004123/0.4652, allocations: 169.4 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.4652, allocations: 11.69 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006557/0.4659, allocations: 270.5 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 3.356e-06/0.4659, allocations: 3.938 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.001542/0.4675, allocations: 493.2 kB / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.4676, allocations: 191.9 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.469, allocations: 0.7466 MB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.021e-05/0.4692, allocations: 49.69 kB / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/0.4696, allocations: 372.8 kB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.4698, allocations: 118.5 kB / 1.084 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/0.4701, allocations: 134.3 kB / 1.084 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000228/0.4704, allocations: 330 kB / 1.084 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.4708, allocations: 137.2 kB / 1.084 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006752/0.4715, allocations: 319.5 kB / 1.085 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008857/0.4724, allocations: 385.1 kB / 1.085 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.4724, allocations: 7.938 kB / 1.085 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001546/0.474, allocations: 0.5105 MB / 1.086 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.474, allocations: 11.94 kB / 1.086 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.474, allocations: 4 kB / 1.086 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.4741, allocations: 8.594 kB / 1.086 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.4745, allocations: 79.84 kB / 1.086 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.4746, allocations: 11.98 kB / 1.086 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/0.475, allocations: 55.42 kB / 1.086 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.4751, allocations: 28 kB / 1.086 GB, free: 7.703 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition4.t_start,$PRE.transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,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.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 (76): * Single equations (assignments): 76 * 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.0005496/0.4756, allocations: 289.5 kB / 1.086 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.4758, allocations: 75.06 kB / 1.086 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.4769, allocations: 416.2 kB / 1.087 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.477, allocations: 11.98 kB / 1.087 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.477, allocations: 0 / 1.087 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.477, allocations: 4 kB / 1.087 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.4793, allocations: 1.071 MB / 1.088 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/0.4793, allocations: 11.92 kB / 1.088 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.4795, allocations: 27.92 kB / 1.088 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.4795, allocations: 4 kB / 1.088 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.4796, allocations: 8 kB / 1.088 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.4796, allocations: 7.938 kB / 1.088 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/0.4796, allocations: 7.922 kB / 1.088 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.4808, allocations: 0.5202 MB / 1.088 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.481, allocations: 140.1 kB / 1.088 GB, free: 5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.4812, allocations: 15.98 kB / 1.088 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.4815, allocations: 19.98 kB / 1.088 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.4817, allocations: 51.81 kB / 1.088 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/0.4818, allocations: 16 kB / 1.088 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001118/0.4829, allocations: 0.5068 MB / 1.089 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.8e-07/0.483, allocations: 0 / 1.089 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009773/0.4839, allocations: 135.6 kB / 1.089 GB, free: 4.262 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 39 (transition4.t_start,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.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,transition2.t_start,transition1.t_start) * Number of discrete states: 10 (transition1.t_start,transition2.t_start,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,transition4.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001919/0.4859, allocations: 467.7 kB / 1.089 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.4873, allocations: 385.3 kB / 1.09 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4873, allocations: 0 / 1.09 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006536/0.488, allocations: 187.5 kB / 1.09 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.4893, allocations: 127.1 kB / 1.09 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.4929, allocations: 1.443 MB / 1.092 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000961/0.4939, allocations: 0.9615 MB / 1.092 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005818/0.4945, allocations: 92.78 kB / 1.093 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.4947, allocations: 51.42 kB / 1.093 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of SimCode: time 9.31e-07/0.4947, allocations: 0 / 1.093 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of Templates: time 0.02533/0.5201, allocations: 6.434 MB / 1.099 GB, free: 10.29 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)