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 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.411/2.411, allocations: 248.5 MB / 261.1 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 187.1 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001209/0.001208, allocations: 111.8 kB / 0.6754 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.896e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1938, allocations: 106.3 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8369/1.031, allocations: 138.9 MB / 1.026 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/1.031, allocations: 89.62 kB / 1.026 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0756/1.107, allocations: 17.15 MB / 1.043 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.894e-06/1.107, allocations: 0 / 1.043 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.321e-05/1.107, allocations: 16 kB / 1.043 GB, free: 13.39 MB / 0.6667 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.002012/1.109, allocations: 0.917 MB / 1.044 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/1.109, allocations: 8.031 kB / 1.044 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/1.109, allocations: 89.89 kB / 1.044 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/1.109, allocations: 90.88 kB / 1.044 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/1.111, allocations: 0.4953 MB / 1.045 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/1.111, allocations: 68.45 kB / 1.045 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/1.111, allocations: 49.98 kB / 1.045 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/1.112, allocations: 0.5385 MB / 1.045 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/1.112, allocations: 0 / 1.045 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/1.112, allocations: 19.69 kB / 1.045 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/1.112, allocations: 15.94 kB / 1.045 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009321/1.113, allocations: 342.7 kB / 1.046 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/1.117, allocations: 2.079 MB / 1.048 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007838/1.118, allocations: 282.6 kB / 1.048 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/1.118, allocations: 153.4 kB / 1.048 GB, free: 8.914 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/1.118, allocations: 8.266 kB / 1.048 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005115/1.119, allocations: 206.8 kB / 1.048 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 3.397e-06/1.119, allocations: 0 / 1.048 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.00108/1.12, allocations: 354.3 kB / 1.049 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/1.12, allocations: 114.5 kB / 1.049 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/1.122, allocations: 0.6744 MB / 1.049 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/1.122, allocations: 55.56 kB / 1.05 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/1.122, allocations: 356.9 kB / 1.05 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/1.122, allocations: 117.5 kB / 1.05 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/1.122, allocations: 6.375 kB / 1.05 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.123, allocations: 334.6 kB / 1.05 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/1.123, allocations: 123.1 kB / 1.05 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/1.124, allocations: 312.1 kB / 1.051 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/1.124, allocations: 141.4 kB / 1.051 GB, free: 6.621 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/1.124, allocations: 0 / 1.051 GB, free: 6.621 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001285/1.125, allocations: 0.5033 MB / 1.051 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/1.125, allocations: 8 kB / 1.051 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/1.125, allocations: 4.594 kB / 1.051 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/1.125, allocations: 8 kB / 1.051 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/1.126, allocations: 82.64 kB / 1.051 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/1.126, allocations: 8 kB / 1.051 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/1.126, allocations: 47.34 kB / 1.051 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/1.127, allocations: 30.86 kB / 1.052 GB, free: 6.047 MB / 0.6667 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 () * 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.0002329/1.127, allocations: 163.1 kB / 1.052 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/1.127, allocations: 75.06 kB / 1.052 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/1.128, allocations: 440.3 kB / 1.052 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.128, allocations: 4 kB / 1.052 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.128, allocations: 0 / 1.052 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.128, allocations: 7.984 kB / 1.052 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/1.131, allocations: 1.101 MB / 1.053 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.131, allocations: 0 / 1.053 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/1.131, allocations: 35.8 kB / 1.053 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/1.131, allocations: 0 / 1.053 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/1.131, allocations: 14.81 kB / 1.053 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/1.131, allocations: 4 kB / 1.053 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.131, allocations: 0 / 1.053 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/1.132, allocations: 0.4884 MB / 1.054 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/1.133, allocations: 165.8 kB / 1.054 GB, free: 3.941 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/1.133, allocations: 14.17 kB / 1.054 GB, free: 3.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/1.133, allocations: 26.31 kB / 1.054 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/1.133, allocations: 48.17 kB / 1.054 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-05/1.133, allocations: 15.38 kB / 1.054 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001008/1.134, allocations: 0.4933 MB / 1.055 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.8e-07/1.134, allocations: 4 kB / 1.055 GB, free: 3.484 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008529/1.135, allocations: 132.2 kB / 1.055 GB, free: 3.375 MB / 0.6667 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) * 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.002615/1.138, allocations: 1.375 MB / 1.056 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001124/1.139, allocations: 381.2 kB / 1.056 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.139, allocations: 320 / 1.056 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004406/1.139, allocations: 182 kB / 1.057 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009599/1.14, allocations: 111.1 kB / 1.057 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/1.144, allocations: 1.052 MB / 1.058 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008037/1.145, allocations: 0.9686 MB / 1.059 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005869/1.145, allocations: 100.8 kB / 1.059 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000502/1.146, allocations: 273 kB / 1.059 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of SimCode: time 1.253e-06/1.146, allocations: 0 / 1.059 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07368/1.219, allocations: 14.04 MB / 1.073 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/1.22, allocations: 191.1 kB / 1.073 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.937/4.157, allocations: 4 kB / 1.073 GB, free: 1.496 MB / 0.6823 GB