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.191/2.191, allocations: 248.7 MB / 256.2 MB, free: 7.02 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.001482/0.001482, allocations: 183.9 kB / 315.4 MB, free: 4 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.034/2.034, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 89.98 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.637e-05/2.646e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2046, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.875/1.08, allocations: 139.1 MB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/1.08, allocations: 92.19 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07593/1.156, allocations: 16.94 MB / 1.037 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.984e-06/1.156, allocations: 0 / 1.037 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.461e-05/1.156, allocations: 20 kB / 1.037 GB, free: 1.383 MB / 0.6511 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.002324/1.159, allocations: 0.9005 MB / 1.038 GB, free: 488 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/1.159, allocations: 8.031 kB / 1.038 GB, free: 480 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/1.159, allocations: 94.88 kB / 1.038 GB, free: 384 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/1.16, allocations: 0.4908 MB / 1.038 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/1.161, allocations: 50.2 kB / 1.038 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/1.161, allocations: 32 kB / 1.038 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009422/1.162, allocations: 303.1 kB / 1.038 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/1.163, allocations: 487.1 kB / 1.039 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/1.163, allocations: 4 kB / 1.039 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.869e-05/1.163, allocations: 4 kB / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/1.163, allocations: 12 kB / 1.039 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003957/1.167, allocations: 1.98 MB / 1.041 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/1.168, allocations: 271.5 kB / 1.041 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/1.168, allocations: 132.7 kB / 1.041 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/1.168, allocations: 4.328 kB / 1.041 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005164/1.169, allocations: 204.8 kB / 1.041 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 3.968e-06/1.169, allocations: 0 / 1.041 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.001031/1.17, allocations: 335.6 kB / 1.042 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/1.17, allocations: 110.8 kB / 1.042 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/1.171, allocations: 0.6241 MB / 1.042 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/1.171, allocations: 37.22 kB / 1.043 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004564/1.172, allocations: 374 kB / 1.043 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/1.172, allocations: 101.8 kB / 1.043 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/1.172, allocations: 0 / 1.043 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002375/1.172, allocations: 390.1 kB / 1.043 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/1.173, allocations: 120.5 kB / 1.043 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/1.173, allocations: 303.7 kB / 1.044 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/1.174, allocations: 126.2 kB / 1.044 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/1.174, allocations: 4 kB / 1.044 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001234/1.175, allocations: 446.8 kB / 1.044 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/1.175, allocations: 11.94 kB / 1.044 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.175, allocations: 4 kB / 1.044 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/1.175, allocations: 8.594 kB / 1.044 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/1.176, allocations: 78.27 kB / 1.044 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/1.176, allocations: 8 kB / 1.044 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/1.176, allocations: 43.72 kB / 1.044 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/1.176, allocations: 23.81 kB / 1.044 GB, free: 10.4 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.0002463/1.177, allocations: 157.2 kB / 1.045 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000958/1.178, allocations: 332 kB / 1.045 GB, free: 9.973 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/1.178, allocations: 71.06 kB / 1.045 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/1.179, allocations: 393.2 kB / 1.045 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/1.179, allocations: 8 kB / 1.045 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.179, allocations: 0 / 1.045 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.179, allocations: 4 kB / 1.045 GB, free: 9.582 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/1.182, allocations: 1.005 MB / 1.046 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/1.182, allocations: 0 / 1.046 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/1.182, allocations: 35.11 kB / 1.046 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.887e-05/1.182, allocations: 0 / 1.046 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/1.182, allocations: 11.92 kB / 1.046 GB, free: 8.719 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/1.182, allocations: 3.953 kB / 1.046 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.182, allocations: 4 kB / 1.046 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/1.183, allocations: 479 kB / 1.047 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/1.184, allocations: 154.8 kB / 1.047 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.184, allocations: 6.438 kB / 1.047 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/1.184, allocations: 19.97 kB / 1.047 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/1.184, allocations: 47.2 kB / 1.047 GB, free: 8.074 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/1.184, allocations: 19.05 kB / 1.047 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009551/1.185, allocations: 468.9 kB / 1.048 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.41e-07/1.185, allocations: 0 / 1.048 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009985/1.186, allocations: 111.5 kB / 1.048 GB, free: 7.617 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.002878/1.189, allocations: 1.317 MB / 1.049 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001145/1.191, allocations: 358.8 kB / 1.049 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.191, allocations: 0 / 1.049 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004441/1.191, allocations: 166 kB / 1.049 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/1.192, allocations: 107.5 kB / 1.05 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/1.196, allocations: 1.017 MB / 1.051 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008522/1.197, allocations: 0.9731 MB / 1.052 GB, free: 4.07 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006482/1.197, allocations: 95.84 kB / 1.052 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/1.198, allocations: 274.8 kB / 1.052 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of SimCode: time 1.132e-06/1.198, allocations: 0 / 1.052 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06629/1.264, allocations: 12.9 MB / 1.064 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003368/1.265, allocations: 181.9 kB / 1.065 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/4.111, allocations: 0 / 1.065 GB, free: 6.852 MB / 0.6823 GB