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.194/2.194, allocations: 248.7 MB / 256.2 MB, free: 7.031 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.001496/0.001495, allocations: 178 kB / 315.4 MB, free: 3.996 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.261/2.261, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 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.001133/0.001132, allocations: 94.11 kB / 0.6704 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.923e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2306, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8759/1.107, allocations: 140.5 MB / 1.021 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/1.107, allocations: 99.48 kB / 1.021 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07193/1.179, allocations: 16.12 MB / 1.037 GB, free: 1.043 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.783e-06/1.179, allocations: 3.938 kB / 1.037 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.214e-05/1.179, allocations: 19.94 kB / 1.037 GB, free: 1.02 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002498/1.182, allocations: 0.9122 MB / 1.038 GB, free: 100 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/1.182, allocations: 8.031 kB / 1.038 GB, free: 92 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004494/1.182, allocations: 86.97 kB / 1.038 GB, free: 4 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/1.184, allocations: 0.5613 MB / 1.039 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/1.184, allocations: 19.12 kB / 1.039 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/1.184, allocations: 39.95 kB / 1.039 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001273/1.186, allocations: 415.2 kB / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/1.187, allocations: 0.4916 MB / 1.04 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/1.187, allocations: 4 kB / 1.04 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/1.187, allocations: 8 kB / 1.04 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/1.187, allocations: 12 kB / 1.04 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004384/1.191, allocations: 1.526 MB / 1.041 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/1.193, allocations: 479 kB / 1.042 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/1.194, allocations: 214.6 kB / 1.042 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/1.194, allocations: 8.562 kB / 1.042 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007322/1.194, allocations: 283.2 kB / 1.042 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=65): time 3.917e-06/1.194, allocations: 0 / 1.042 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65): time 0.001426/1.196, allocations: 471.6 kB / 1.043 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/1.196, allocations: 178.6 kB / 1.043 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/1.197, allocations: 0.6255 MB / 1.043 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001927/1.198, allocations: 40.52 kB / 1.043 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/1.198, allocations: 287.9 kB / 1.044 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/1.198, allocations: 157.1 kB / 1.044 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/1.198, allocations: 0 / 1.044 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002265/1.199, allocations: 380.8 kB / 1.044 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/1.199, allocations: 168.2 kB / 1.044 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006797/1.2, allocations: 345.2 kB / 1.045 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/1.2, allocations: 175.1 kB / 1.045 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.2, allocations: 0 / 1.045 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001579/1.202, allocations: 0.5316 MB / 1.045 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/1.202, allocations: 7.953 kB / 1.045 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.202, allocations: 4 kB / 1.045 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/1.202, allocations: 4 kB / 1.045 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/1.203, allocations: 91.06 kB / 1.045 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/1.203, allocations: 4 kB / 1.045 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006072/1.203, allocations: 35.92 kB / 1.045 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-05/1.203, allocations: 31.73 kB / 1.045 GB, free: 10.14 MB / 0.6667 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 () * 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.0002847/1.204, allocations: 159.6 kB / 1.046 GB, free: 9.973 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001411/1.205, allocations: 471.9 kB / 1.046 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/1.205, allocations: 63.2 kB / 1.046 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/1.207, allocations: 0.5559 MB / 1.047 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/1.207, allocations: 11.94 kB / 1.047 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.207, allocations: 0 / 1.047 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/1.207, allocations: 3.984 kB / 1.047 GB, free: 9.109 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/1.211, allocations: 1.346 MB / 1.048 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.211, allocations: 0 / 1.048 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/1.211, allocations: 62.89 kB / 1.048 GB, free: 8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/1.211, allocations: 0 / 1.048 GB, free: 8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/1.211, allocations: 7.875 kB / 1.048 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/1.211, allocations: 4 kB / 1.048 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.211, allocations: 3.984 kB / 1.048 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/1.213, allocations: 0.6159 MB / 1.049 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/1.213, allocations: 170.6 kB / 1.049 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/1.213, allocations: 7.438 kB / 1.049 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/1.214, allocations: 23.97 kB / 1.049 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/1.214, allocations: 82.03 kB / 1.049 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.434e-05/1.214, allocations: 23.3 kB / 1.049 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008808/1.215, allocations: 472.6 kB / 1.049 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.21e-07/1.215, allocations: 0 / 1.049 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001065/1.216, allocations: 153.9 kB / 1.05 GB, free: 6.707 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: 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) * 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.003674/1.22, allocations: 1.663 MB / 1.051 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001518/1.222, allocations: 0.5053 MB / 1.052 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.222, allocations: 0 / 1.052 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006361/1.222, allocations: 271.3 kB / 1.052 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009994/1.223, allocations: 108.9 kB / 1.052 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/1.227, allocations: 1.079 MB / 1.053 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007589/1.227, allocations: 0.9572 MB / 1.054 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006378/1.228, allocations: 120.3 kB / 1.054 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005842/1.229, allocations: 262.4 kB / 1.054 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of SimCode: time 1.002e-06/1.229, allocations: 0 / 1.054 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06854/1.297, allocations: 13.96 MB / 1.068 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003958/1.298, allocations: 221.1 kB / 1.068 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.909/4.207, allocations: 0 / 1.068 GB, free: 4.387 MB / 0.6823 GB