Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.337/2.337, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.001356/0.001356, allocations: 180.2 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.408/2.408, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.0008675/0.0008672, allocations: 85.5 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006478/0.0006479, allocations: 12.91 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2257, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/0.4645, allocations: 139 MB / 1.035 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/0.465, allocations: 91.95 kB / 1.035 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07276/0.5377, allocations: 17.25 MB / 1.052 GB, free: 4.867 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5378, allocations: 4 kB / 1.052 GB, free: 4.863 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.221e-05/0.5379, allocations: 19.94 kB / 1.052 GB, free: 4.844 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.002108/0.54, allocations: 1.011 MB / 1.053 GB, free: 3.762 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.54, allocations: 12.03 kB / 1.053 GB, free: 3.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.5403, allocations: 91.81 kB / 1.053 GB, free: 3.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.5414, allocations: 0.4939 MB / 1.054 GB, free: 3.125 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.5416, allocations: 71.27 kB / 1.054 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.5417, allocations: 52.38 kB / 1.054 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.5431, allocations: 0.5468 MB / 1.054 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.5431, allocations: 3.938 kB / 1.054 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.397e-05/0.5432, allocations: 24 kB / 1.054 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.5432, allocations: 15.94 kB / 1.054 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.5443, allocations: 355.7 kB / 1.055 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5959/1.14, allocations: 2.06 MB / 1.057 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/1.141, allocations: 308.5 kB / 1.057 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/1.142, allocations: 152.6 kB / 1.057 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/1.142, allocations: 3.797 kB / 1.057 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006603/1.142, allocations: 220.1 kB / 1.057 GB, free: 145.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 3.947e-06/1.142, allocations: 2.094 kB / 1.057 GB, free: 145.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.00152/1.144, allocations: 484.8 kB / 1.058 GB, free: 145.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/1.144, allocations: 113.5 kB / 1.058 GB, free: 145.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/1.145, allocations: 0.7497 MB / 1.059 GB, free: 145.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.146, allocations: 52.02 kB / 1.059 GB, free: 145.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/1.146, allocations: 364.3 kB / 1.059 GB, free: 145 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/1.146, allocations: 103.7 kB / 1.059 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/1.146, allocations: 13.41 kB / 1.059 GB, free: 144.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.063e-05/1.146, allocations: 332 kB / 1.06 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/1.147, allocations: 134.2 kB / 1.06 GB, free: 144.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005705/1.147, allocations: 323.5 kB / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/1.148, allocations: 151.1 kB / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/1.148, allocations: 5.656 kB / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001323/1.149, allocations: 0.5059 MB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/1.149, allocations: 9.438 kB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.149, allocations: 5 kB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/1.149, allocations: 8.188 kB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/1.15, allocations: 74.47 kB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/1.15, allocations: 11.56 kB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/1.15, allocations: 61.09 kB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/1.15, allocations: 24.89 kB / 1.061 GB, free: 144.3 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.0005798/1.151, allocations: 275.8 kB / 1.061 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/1.151, allocations: 68.25 kB / 1.061 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/1.152, allocations: 456.7 kB / 1.062 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/1.152, allocations: 6 kB / 1.062 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.152, allocations: 3.938 kB / 1.062 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.152, allocations: 3.375 kB / 1.062 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/1.155, allocations: 1.103 MB / 1.063 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.155, allocations: 6.875 kB / 1.063 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/1.155, allocations: 33.42 kB / 1.063 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/1.155, allocations: 3.125 kB / 1.063 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/1.155, allocations: 14.89 kB / 1.063 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.902e-06/1.155, allocations: 0.875 kB / 1.063 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.155, allocations: 0 / 1.063 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/1.156, allocations: 0.5022 MB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/1.157, allocations: 162.9 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.157, allocations: 16.08 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/1.157, allocations: 20.98 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/1.157, allocations: 49.16 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/1.157, allocations: 18.12 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001015/1.158, allocations: 0.4999 MB / 1.064 GB, free: 143.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-07/1.158, allocations: 3.906 kB / 1.064 GB, free: 143.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000873/1.159, allocations: 135.5 kB / 1.064 GB, free: 143.4 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.001474/1.161, allocations: 488.8 kB / 1.065 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001291/1.162, allocations: 397 kB / 1.065 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.162, allocations: 0 / 1.065 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005066/1.163, allocations: 183.2 kB / 1.065 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/1.164, allocations: 117.8 kB / 1.065 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/1.167, allocations: 1.395 MB / 1.067 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007467/1.168, allocations: 0.9576 MB / 1.068 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006866/1.169, allocations: 103.8 kB / 1.068 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/1.169, allocations: 56.38 kB / 1.068 GB, free: 141.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/1.169, allocations: 0 / 1.068 GB, free: 141.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02727/1.196, allocations: 6.805 MB / 1.074 GB, free: 141.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)