Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.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.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage",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.297/2.297, allocations: 251 MB / 265.9 MB, free: 11.7 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.001665/0.001665, allocations: 176.8 kB / 325.5 MB, free: 2.914 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.374/2.374, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001242/0.001241, allocations: 95.73 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004727, allocations: 12.22 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.201, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.231/0.432, allocations: 140.3 MB / 1.036 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/0.4324, allocations: 103.9 kB / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07237/0.5048, allocations: 16.34 MB / 1.052 GB, free: 4.477 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5049, allocations: 4 kB / 1.052 GB, free: 4.473 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.735e-05/0.505, allocations: 23.94 kB / 1.052 GB, free: 4.449 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002363/0.5073, allocations: 1.005 MB / 1.053 GB, free: 3.375 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5074, allocations: 8.031 kB / 1.053 GB, free: 3.367 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/0.5076, allocations: 94.52 kB / 1.053 GB, free: 3.266 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.5078, allocations: 79.06 kB / 1.053 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.5092, allocations: 0.5622 MB / 1.054 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.916e-05/0.5094, allocations: 49 kB / 1.054 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.5095, allocations: 59.94 kB / 1.054 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.5111, allocations: 0.5756 MB / 1.054 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.5112, allocations: 0 / 1.054 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.668e-05/0.5113, allocations: 20 kB / 1.054 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.5113, allocations: 15.94 kB / 1.054 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.5127, allocations: 451.7 kB / 1.055 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5676/1.08, allocations: 1.619 MB / 1.056 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/1.082, allocations: 0.5153 MB / 1.057 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-05/1.082, allocations: 9.344 kB / 1.057 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007711/1.083, allocations: 311.5 kB / 1.057 GB, free: 144.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 3.436e-06/1.083, allocations: 0 / 1.057 GB, free: 144.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.002032/1.085, allocations: 0.6896 MB / 1.058 GB, free: 144.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/1.085, allocations: 168.7 kB / 1.058 GB, free: 144 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/1.086, allocations: 0.657 MB / 1.059 GB, free: 143.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/1.086, allocations: 53.55 kB / 1.059 GB, free: 143.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/1.087, allocations: 300.9 kB / 1.059 GB, free: 143.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/1.087, allocations: 156.2 kB / 1.059 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/1.087, allocations: 15.5 kB / 1.059 GB, free: 143.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.087, allocations: 379.8 kB / 1.059 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005831/1.088, allocations: 193.5 kB / 1.06 GB, free: 143.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007293/1.088, allocations: 370.4 kB / 1.06 GB, free: 143.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/1.089, allocations: 200.6 kB / 1.06 GB, free: 143.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.089, allocations: 3.688 kB / 1.06 GB, free: 143.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00153/1.091, allocations: 0.5932 MB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.091, allocations: 5.562 kB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.091, allocations: 6.219 kB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/1.091, allocations: 8.656 kB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/1.091, allocations: 89.66 kB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/1.091, allocations: 8.938 kB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/1.092, allocations: 53.81 kB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/1.092, allocations: 27.75 kB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$whenCondition6,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.cooMod,conSpePumSta.con1.enableFire,conSpePumSta.con1.fire,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,$PRE.conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,$PRE.conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.newActive,$PRE.conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,$PRE.conSpePumSta.twoOn.localActive,conSpePumSta.twoOn.localActive,$PRE.conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.newActive,$PRE.conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.enableFire,conSpePumSta.con2.fire,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.enableFire,conSpePumSta.con3.fire,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.enableFire,conSpePumSta.con4.fire,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0005721/1.093, allocations: 305.1 kB / 1.061 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/1.093, allocations: 67.16 kB / 1.061 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/1.094, allocations: 0.6164 MB / 1.062 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.094, allocations: 8.547 kB / 1.062 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.094, allocations: 0.5625 kB / 1.062 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/1.094, allocations: 4.312 kB / 1.062 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/1.098, allocations: 1.482 MB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.098, allocations: 0 / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/1.098, allocations: 60.02 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/1.098, allocations: 7.609 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/1.098, allocations: 19.58 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/1.098, allocations: 3.969 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.098, allocations: 6.031 kB / 1.063 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/1.1, allocations: 0.6586 MB / 1.064 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/1.1, allocations: 174.1 kB / 1.064 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/1.1, allocations: 20.47 kB / 1.064 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/1.101, allocations: 30.67 kB / 1.064 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/1.101, allocations: 91.12 kB / 1.064 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/1.101, allocations: 25.47 kB / 1.064 GB, free: 142.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009911/1.102, allocations: 498.4 kB / 1.065 GB, free: 142.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/1.102, allocations: 0 / 1.065 GB, free: 142.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000978/1.103, allocations: 177.8 kB / 1.065 GB, free: 142.2 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: 52 (conSpePumSta.con3.enableFire,conSpePumSta.con4.enableFire,conSpePumSta.con1.enableFire,conSpePumSta.con2.enableFire,conSpePumSta.twoOn.localActive,conSpePumSta.off.localActive,conSpePumSta.oneOn.localActive,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.cooMod,conSpePumSta.con1.fire,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.newActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.fire,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.fire,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.fire,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 7 (chiNumOn.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEvent,conSpePumSta.oneOn.newActive,conSpePumSta.off.newActive,conSpePumSta.twoOn.newActive,chiNumOn.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.003923/1.107, allocations: 1.855 MB / 1.067 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001823/1.109, allocations: 0.5493 MB / 1.067 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.109, allocations: 0 / 1.067 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008246/1.11, allocations: 290 kB / 1.068 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009876/1.111, allocations: 109.2 kB / 1.068 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/1.126, allocations: 5.194 MB / 1.073 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009773/1.127, allocations: 0.9582 MB / 1.074 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001068/1.128, allocations: 112.2 kB / 1.074 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008963/1.129, allocations: 265.5 kB / 1.074 GB, free: 138.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.633e-06/1.129, allocations: 0 / 1.074 GB, free: 138.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05619/1.185, allocations: 14.74 MB / 1.089 GB, free: 136.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/1.186, allocations: 264.9 kB / 1.089 GB, free: 136.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.055/4.241, allocations: 0 / 1.089 GB, free: 136.5 MB / 0.698 GB