Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 289.9 MB / 297.4 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 184.8 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.2 MB / 0.626 GB, free: 7.152 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 92.28 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.975e-05/1.978e-05, allocations: 0 / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.763/0.763, allocations: 116.3 MB / 0.9734 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2064/0.9694, allocations: 144.1 MB / 1.114 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.9697, allocations: 100.5 kB / 1.114 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02442/0.9942, allocations: 9.407 MB / 1.123 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9942, allocations: 0 / 1.123 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.221e-05/0.9943, allocations: 8 kB / 1.123 GB, free: 12.51 MB / 0.7292 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.001232/0.9955, allocations: 0.7271 MB / 1.124 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.9956, allocations: 8.031 kB / 1.124 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.9957, allocations: 59.3 kB / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.9963, allocations: 378.2 kB / 1.124 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.9963, allocations: 16 kB / 1.125 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.9964, allocations: 35.98 kB / 1.125 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000676/0.9971, allocations: 374.5 kB / 1.125 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.9978, allocations: 440.2 kB / 1.125 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.9979, allocations: 3.984 kB / 1.125 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.9979, allocations: 5.828 kB / 1.125 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.9979, allocations: 12 kB / 1.125 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/1, allocations: 1.343 MB / 1.127 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/1.001, allocations: 415.6 kB / 1.127 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/1.001, allocations: 180.7 kB / 1.127 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/1.001, allocations: 8.438 kB / 1.127 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004052/1.001, allocations: 242.7 kB / 1.127 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 1.953e-06/1.001, allocations: 0 / 1.127 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.0006374/1.002, allocations: 374.6 kB / 1.128 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/1.002, allocations: 71.94 kB / 1.128 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/1.002, allocations: 297.9 kB / 1.128 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/1.003, allocations: 41.69 kB / 1.128 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/1.003, allocations: 213.2 kB / 1.128 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/1.003, allocations: 134.1 kB / 1.129 GB, free: 7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/1.003, allocations: 0 / 1.129 GB, free: 7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.003, allocations: 360.4 kB / 1.129 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/1.003, allocations: 145.6 kB / 1.129 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/1.004, allocations: 233.9 kB / 1.129 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/1.004, allocations: 144.5 kB / 1.129 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/1.004, allocations: 3.938 kB / 1.129 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0006838/1.005, allocations: 455.7 kB / 1.13 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/1.005, allocations: 34.95 kB / 1.13 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.005, allocations: 5.188 kB / 1.13 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.005, allocations: 8 kB / 1.13 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/1.005, allocations: 76.05 kB / 1.13 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.005, allocations: 8 kB / 1.13 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/1.005, allocations: 63.69 kB / 1.13 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/1.005, allocations: 35.98 kB / 1.13 GB, free: 5.418 MB / 0.7292 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.0001547/1.006, allocations: 156.8 kB / 1.13 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005376/1.006, allocations: 370.6 kB / 1.131 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/1.006, allocations: 39.53 kB / 1.131 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008578/1.007, allocations: 435.5 kB / 1.131 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.007, allocations: 8 kB / 1.131 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.007, allocations: 2.344 kB / 1.131 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/1.007, allocations: 3.984 kB / 1.131 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/1.009, allocations: 1.068 MB / 1.132 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.009, allocations: 0 / 1.132 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/1.009, allocations: 59.84 kB / 1.132 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.009, allocations: 4 kB / 1.132 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/1.009, allocations: 11.94 kB / 1.132 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/1.009, allocations: 5.875 kB / 1.132 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.009, allocations: 0 / 1.132 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000692/1.01, allocations: 0.4993 MB / 1.133 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.01, allocations: 128.5 kB / 1.133 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/1.01, allocations: 4 kB / 1.133 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/1.01, allocations: 59.89 kB / 1.133 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.011, allocations: 80.44 kB / 1.133 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/1.011, allocations: 16 kB / 1.133 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002036/1.011, allocations: 206 kB / 1.133 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/1.011, allocations: 0 / 1.133 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004501/1.011, allocations: 99.83 kB / 1.133 GB, free: 2.102 MB / 0.7292 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.001735/1.013, allocations: 1.277 MB / 1.134 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007207/1.014, allocations: 469.7 kB / 1.135 GB, free: 456 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.014, allocations: 0 / 1.135 GB, free: 456 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003179/1.014, allocations: 232 kB / 1.135 GB, free: 228 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/1.014, allocations: 59.91 kB / 1.135 GB, free: 168 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/1.016, allocations: 0.6764 MB / 1.136 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/1.017, allocations: 0.8593 MB / 1.137 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002486/1.017, allocations: 62.75 kB / 1.137 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/1.017, allocations: 175.3 kB / 1.137 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of SimCode: time 2.61e-07/1.017, allocations: 1.031 kB / 1.137 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/1.047, allocations: 8.803 MB / 1.145 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/1.047, allocations: 221.5 kB / 1.146 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/3.332, allocations: 0 / 1.146 GB, free: 5.41 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)