Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.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.VariableSpeedPumpStage,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",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.139/2.139, allocations: 251 MB / 265.9 MB, free: 11.69 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.001519/0.001519, allocations: 173.7 kB / 325.5 MB, free: 2.898 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.339/2.339, allocations: 205.4 MB / 0.5764 GB, free: 21.13 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.001145/0.001145, allocations: 96.8 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006549/0.000655, allocations: 11.56 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2049, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/0.4366, allocations: 137.4 MB / 1.033 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003948/0.437, allocations: 103.9 kB / 1.033 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05662/0.4937, allocations: 9.582 MB / 1.043 GB, free: 14.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4937, allocations: 3.938 kB / 1.043 GB, free: 14.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.217e-05/0.4938, allocations: 19.94 kB / 1.043 GB, free: 14.55 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002082/0.4959, allocations: 0.7581 MB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.496, allocations: 12.03 kB / 1.043 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/0.4962, allocations: 86.52 kB / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.4963, allocations: 59.34 kB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000793/0.4972, allocations: 378.1 kB / 1.044 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.017e-05/0.4973, allocations: 48.98 kB / 1.044 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.4974, allocations: 52 kB / 1.044 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.499, allocations: 0.5176 MB / 1.044 GB, free: 12.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.499, allocations: 0 / 1.044 GB, free: 12.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.4991, allocations: 24 kB / 1.044 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.4992, allocations: 8 kB / 1.044 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.5007, allocations: 455.7 kB / 1.045 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.5045, allocations: 1.43 MB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.5062, allocations: 493.5 kB / 1.047 GB, free: 10.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.903e-05/0.5063, allocations: 8.422 kB / 1.047 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009882/0.5073, allocations: 295.7 kB / 1.047 GB, free: 9.773 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 3.967e-06/0.5074, allocations: 0 / 1.047 GB, free: 9.773 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.002377/0.5097, allocations: 0.6311 MB / 1.048 GB, free: 9.137 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.5098, allocations: 67.95 kB / 1.048 GB, free: 9.055 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005883/0.5104, allocations: 317.8 kB / 1.048 GB, free: 8.742 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.5106, allocations: 49.7 kB / 1.048 GB, free: 8.688 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.5108, allocations: 213.2 kB / 1.048 GB, free: 8.473 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.511, allocations: 142 kB / 1.048 GB, free: 8.332 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.5111, allocations: 16 kB / 1.048 GB, free: 8.316 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.5113, allocations: 358.8 kB / 1.049 GB, free: 7.957 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007276/0.512, allocations: 189.2 kB / 1.049 GB, free: 7.773 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008311/0.5129, allocations: 278 kB / 1.049 GB, free: 7.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007407/0.5136, allocations: 216.8 kB / 1.049 GB, free: 7.262 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5136, allocations: 0 / 1.049 GB, free: 7.262 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001842/0.5155, allocations: 0.5728 MB / 1.05 GB, free: 6.676 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.5156, allocations: 37.7 kB / 1.05 GB, free: 6.633 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5156, allocations: 7.875 kB / 1.05 GB, free: 6.625 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.5156, allocations: 8 kB / 1.05 GB, free: 6.617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.5162, allocations: 75.81 kB / 1.05 GB, free: 6.543 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.5163, allocations: 16.02 kB / 1.05 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007035/0.517, allocations: 71.7 kB / 1.05 GB, free: 6.457 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.443e-05/0.5171, allocations: 27.98 kB / 1.05 GB, free: 6.43 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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.0005015/0.5176, allocations: 233.7 kB / 1.05 GB, free: 6.191 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.5177, allocations: 39.53 kB / 1.05 GB, free: 6.152 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.5195, allocations: 0.542 MB / 1.051 GB, free: 5.602 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.5196, allocations: 8 kB / 1.051 GB, free: 5.594 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.5196, allocations: 4 kB / 1.051 GB, free: 5.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.5196, allocations: 7.938 kB / 1.051 GB, free: 5.582 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003416/0.523, allocations: 1.235 MB / 1.052 GB, free: 4.293 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.5231, allocations: 3.953 kB / 1.052 GB, free: 4.289 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.5236, allocations: 55.89 kB / 1.052 GB, free: 4.234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/0.5236, allocations: 4 kB / 1.052 GB, free: 4.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.5237, allocations: 19.92 kB / 1.052 GB, free: 4.211 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.5237, allocations: 0 / 1.052 GB, free: 4.211 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5237, allocations: 4 kB / 1.052 GB, free: 4.207 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.5255, allocations: 0.5929 MB / 1.053 GB, free: 3.598 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.5257, allocations: 120.5 kB / 1.053 GB, free: 3.461 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.5258, allocations: 19.98 kB / 1.053 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006306/0.5264, allocations: 59.95 kB / 1.053 GB, free: 3.383 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.5267, allocations: 76.44 kB / 1.053 GB, free: 3.309 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/0.5268, allocations: 23.98 kB / 1.053 GB, free: 3.285 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003787/0.5272, allocations: 217.9 kB / 1.053 GB, free: 3.074 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5272, allocations: 0 / 1.053 GB, free: 3.074 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000736/0.528, allocations: 115.9 kB / 1.053 GB, free: 2.961 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: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.003078/0.531, allocations: 1.434 MB / 1.055 GB, free: 1.637 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.5329, allocations: 0.5502 MB / 1.055 GB, free: 1.074 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.533, allocations: 0 / 1.055 GB, free: 1.074 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008817/0.5339, allocations: 279.5 kB / 1.056 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.5345, allocations: 56.73 kB / 1.056 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6063/1.141, allocations: 3.582 MB / 1.059 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/1.142, allocations: 0.8573 MB / 1.06 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006597/1.142, allocations: 64.73 kB / 1.06 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005882/1.143, allocations: 169.2 kB / 1.06 GB, free: 147 MB / 0.698 GB Notification: Performance of SimCode: time 2.655e-06/1.143, allocations: 0 / 1.06 GB, free: 147 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05094/1.194, allocations: 9.278 MB / 1.069 GB, free: 146.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/1.194, allocations: 273.5 kB / 1.07 GB, free: 146.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.856/4.05, allocations: 0 / 1.07 GB, free: 146.1 MB / 0.698 GB