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.436/2.436, 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.001504/0.001504, allocations: 176.2 kB / 315.4 MB, free: 4.004 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.09/2.09, allocations: 205.3 MB / 0.5662 GB, free: 0.6289 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.001191/0.001191, allocations: 84.44 kB / 0.6704 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.228e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2226, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9059/1.129, allocations: 137.6 MB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/1.129, allocations: 95.12 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04013/1.169, allocations: 9.423 MB / 1.028 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.913e-06/1.169, allocations: 0 / 1.028 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.074e-05/1.169, allocations: 15.98 kB / 1.028 GB, free: 9.34 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001812/1.171, allocations: 0.7217 MB / 1.029 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.171, allocations: 8.031 kB / 1.029 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/1.171, allocations: 63.34 kB / 1.029 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000797/1.172, allocations: 373.3 kB / 1.029 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/1.172, allocations: 23.62 kB / 1.029 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/1.172, allocations: 36 kB / 1.029 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001094/1.173, allocations: 368.3 kB / 1.029 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/1.175, allocations: 446.3 kB / 1.03 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/1.175, allocations: 0 / 1.03 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/1.175, allocations: 4 kB / 1.03 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/1.175, allocations: 8 kB / 1.03 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/1.178, allocations: 1.341 MB / 1.031 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.179, allocations: 417.6 kB / 1.032 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/1.18, allocations: 176.2 kB / 1.032 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.315e-05/1.18, allocations: 19.72 kB / 1.032 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006405/1.181, allocations: 247.6 kB / 1.032 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 3.797e-06/1.181, allocations: 0 / 1.032 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.001104/1.182, allocations: 365.4 kB / 1.032 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/1.182, allocations: 75.16 kB / 1.032 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/1.182, allocations: 294.5 kB / 1.033 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.314e-05/1.182, allocations: 40.02 kB / 1.033 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/1.183, allocations: 225.9 kB / 1.033 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/1.183, allocations: 130.3 kB / 1.033 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/1.183, allocations: 0 / 1.033 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001953/1.183, allocations: 357.7 kB / 1.033 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/1.184, allocations: 151.3 kB / 1.034 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/1.184, allocations: 230.8 kB / 1.034 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/1.184, allocations: 139.3 kB / 1.034 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.184, allocations: 4 kB / 1.034 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001239/1.186, allocations: 459 kB / 1.034 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/1.186, allocations: 33.69 kB / 1.034 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.186, allocations: 7.938 kB / 1.034 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/1.186, allocations: 4 kB / 1.034 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/1.186, allocations: 78.27 kB / 1.034 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/1.187, allocations: 4 kB / 1.034 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/1.187, allocations: 75.73 kB / 1.034 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/1.187, allocations: 21.5 kB / 1.035 GB, free: 3.797 MB / 0.6511 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 () * 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.000252/1.188, allocations: 160.3 kB / 1.035 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009426/1.188, allocations: 360.6 kB / 1.035 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/1.189, allocations: 43.52 kB / 1.035 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/1.19, allocations: 446 kB / 1.035 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/1.19, allocations: 8 kB / 1.035 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.19, allocations: 3.953 kB / 1.035 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/1.19, allocations: 3.984 kB / 1.035 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/1.193, allocations: 1.061 MB / 1.037 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.193, allocations: 3.953 kB / 1.037 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004556/1.193, allocations: 67.27 kB / 1.037 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/1.193, allocations: 0 / 1.037 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/1.193, allocations: 7.562 kB / 1.037 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/1.193, allocations: 7.984 kB / 1.037 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.193, allocations: 0 / 1.037 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/1.194, allocations: 0.4926 MB / 1.037 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/1.195, allocations: 123.5 kB / 1.037 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.852e-05/1.195, allocations: 6.984 kB / 1.037 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/1.195, allocations: 51.95 kB / 1.037 GB, free: 1.438 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002663/1.196, allocations: 78.38 kB / 1.037 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/1.196, allocations: 30.3 kB / 1.037 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003205/1.196, allocations: 202.4 kB / 1.038 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.196, allocations: 3.938 kB / 1.038 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000701/1.197, allocations: 94.98 kB / 1.038 GB, free: 1.102 MB / 0.6511 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) * 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.002444/1.199, allocations: 1.287 MB / 1.039 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001179/1.2, allocations: 473 kB / 1.039 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.2, allocations: 0 / 1.039 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005381/1.201, allocations: 224.2 kB / 1.04 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/1.202, allocations: 41.86 kB / 1.04 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/1.204, allocations: 0.6825 MB / 1.04 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/1.205, allocations: 0.8573 MB / 1.041 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004384/1.205, allocations: 75.41 kB / 1.041 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/1.205, allocations: 167.7 kB / 1.041 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of SimCode: time 9.42e-07/1.205, allocations: 0 / 1.041 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/1.268, allocations: 8.802 MB / 1.05 GB, free: 5.066 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000387/1.268, allocations: 222.1 kB / 1.05 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/4.04, allocations: 0 / 1.05 GB, free: 4.781 MB / 0.6667 GB