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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 252 MB / 267.9 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 188.1 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007056/0.0007057, allocations: 99.12 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003866, allocations: 14.53 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.201, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.3685, allocations: 139.2 MB / 1.037 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.3688, allocations: 91.94 kB / 1.037 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04352/0.4124, allocations: 17.25 MB / 1.054 GB, free: 2.816 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4124, allocations: 0 / 1.054 GB, free: 2.816 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.246e-05/0.4125, allocations: 20 kB / 1.054 GB, free: 2.797 MB / 0.698 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.001784/0.4143, allocations: 1.007 MB / 1.055 GB, free: 1.719 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4143, allocations: 8.031 kB / 1.055 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.4146, allocations: 91.81 kB / 1.055 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008725/0.4154, allocations: 0.5206 MB / 1.056 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-05/0.4155, allocations: 71.27 kB / 1.056 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.552e-05/0.4156, allocations: 52.38 kB / 1.056 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.4165, allocations: 0.5429 MB / 1.056 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.4166, allocations: 3.938 kB / 1.056 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.4166, allocations: 27.98 kB / 1.056 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.4166, allocations: 16 kB / 1.056 GB, free: 300 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4215/0.8381, allocations: 347.2 kB / 1.057 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.841, allocations: 2.065 MB / 1.059 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.8417, allocations: 306.3 kB / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.842, allocations: 151.4 kB / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.842, allocations: 4.531 kB / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004291/0.8424, allocations: 215.3 kB / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 6.081e-06/0.8424, allocations: 0 / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.0009491/0.8434, allocations: 493.7 kB / 1.06 GB, free: 143.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.8435, allocations: 115.3 kB / 1.06 GB, free: 143 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/0.8444, allocations: 0.7473 MB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.8445, allocations: 52.2 kB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.8447, allocations: 359.5 kB / 1.061 GB, free: 142.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.928e-05/0.8448, allocations: 104.3 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.8449, allocations: 15.91 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.99e-05/0.845, allocations: 331 kB / 1.062 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.8452, allocations: 137.5 kB / 1.062 GB, free: 142.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.8456, allocations: 322.9 kB / 1.062 GB, free: 142.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.8461, allocations: 386 kB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8461, allocations: 0 / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007375/0.8468, allocations: 0.512 MB / 1.063 GB, free: 141.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.8469, allocations: 8.219 kB / 1.063 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.8469, allocations: 8.781 kB / 1.063 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.8469, allocations: 9.141 kB / 1.063 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.8471, allocations: 74.91 kB / 1.063 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.8472, allocations: 12.09 kB / 1.063 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.8474, allocations: 57.73 kB / 1.063 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.8475, allocations: 26.58 kB / 1.063 GB, free: 141.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.enableFire,transition1.condition,transition2.enableFire,transition2.condition,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,staBy.active,$PRE.pumOn.localActive,pumOn.localActive,pumOn.outPort[2].available,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,cheMinFlo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003253/0.8478, allocations: 275.9 kB / 1.063 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.8479, allocations: 70.77 kB / 1.063 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007402/0.8487, allocations: 449.5 kB / 1.064 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.8487, allocations: 9.156 kB / 1.064 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.8487, allocations: 1.078 kB / 1.064 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.8487, allocations: 2.578 kB / 1.064 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.8503, allocations: 1.109 MB / 1.065 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.8503, allocations: 0.5625 kB / 1.065 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.8505, allocations: 33.25 kB / 1.065 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.8505, allocations: 3 kB / 1.065 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.8505, allocations: 15.38 kB / 1.065 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.8505, allocations: 3.547 kB / 1.065 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8505, allocations: 0 / 1.065 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/0.8512, allocations: 0.5045 MB / 1.065 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.8513, allocations: 158.8 kB / 1.066 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/0.8514, allocations: 13.34 kB / 1.066 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.8515, allocations: 25.94 kB / 1.066 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.8517, allocations: 48.83 kB / 1.066 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.8517, allocations: 17.92 kB / 1.066 GB, free: 141 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006396/0.8524, allocations: 0.4965 MB / 1.066 GB, free: 140.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.643e-06/0.8524, allocations: 0 / 1.066 GB, free: 140.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005688/0.853, allocations: 139.2 kB / 1.066 GB, free: 140.9 MB / 0.698 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,$cse5,$cse6,$cse7,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,staBy.active,pumOn.outPort[2].available,pumOn.newActive,pumOn.oldActive,pumOn.active,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 (49): * Single equations (assignments): 41 * 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.001151/0.8541, allocations: 488.5 kB / 1.067 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007432/0.8549, allocations: 394.3 kB / 1.067 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8549, allocations: 0.6562 kB / 1.067 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.8553, allocations: 189.8 kB / 1.067 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007029/0.856, allocations: 123.9 kB / 1.067 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.8582, allocations: 1.397 MB / 1.069 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.8588, allocations: 0.9545 MB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003725/0.8592, allocations: 102 kB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.8594, allocations: 60.19 kB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of SimCode: time 8.42e-07/0.8594, allocations: 4.625 kB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01662/0.876, allocations: 6.851 MB / 1.077 GB, free: 138.9 MB / 0.698 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)