Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.651/1.651, allocations: 285.4 MB / 298 MB, free: 5.961 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.001189/0.001189, allocations: 172.8 kB / 366.4 MB, free: 2.09 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.685/1.685, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.001053/0.001054, allocations: 89.56 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.271e-05/4.283e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7271/0.7272, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2217/0.9489, allocations: 143.8 MB / 1.111 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.9493, allocations: 99.34 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02595/0.9752, allocations: 9.541 MB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9753, allocations: 0 / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.365e-05/0.9753, allocations: 13.41 kB / 1.121 GB, free: 14.38 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.001245/0.9766, allocations: 0.7284 MB / 1.122 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.9766, allocations: 8.031 kB / 1.122 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.9768, allocations: 90.47 kB / 1.122 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.9769, allocations: 55.34 kB / 1.122 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.9775, allocations: 374.2 kB / 1.122 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.9775, allocations: 48.98 kB / 1.122 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-05/0.9776, allocations: 48 kB / 1.122 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008823/0.9785, allocations: 0.4904 MB / 1.123 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.9785, allocations: 0 / 1.123 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.098e-05/0.9786, allocations: 16 kB / 1.123 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.9786, allocations: 19.89 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.9794, allocations: 391.9 kB / 1.123 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.9817, allocations: 1.444 MB / 1.124 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008116/0.9825, allocations: 447.2 kB / 1.125 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.9829, allocations: 199.6 kB / 1.125 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.9829, allocations: 9.203 kB / 1.125 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004935/0.9834, allocations: 263 kB / 1.125 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 2.144e-06/0.9835, allocations: 3.938 kB / 1.125 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.0007692/0.9842, allocations: 398.6 kB / 1.126 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.9843, allocations: 75.91 kB / 1.126 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.9847, allocations: 307.1 kB / 1.126 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.9848, allocations: 57.69 kB / 1.126 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.985, allocations: 209.2 kB / 1.126 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.9851, allocations: 146.1 kB / 1.126 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.9851, allocations: 12 kB / 1.126 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.9854, allocations: 350.8 kB / 1.127 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.9857, allocations: 161.5 kB / 1.127 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.9861, allocations: 251.4 kB / 1.127 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.9864, allocations: 187.7 kB / 1.127 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.9864, allocations: 0 / 1.127 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008924/0.9873, allocations: 0.5265 MB / 1.128 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.9874, allocations: 33.7 kB / 1.128 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.9874, allocations: 4 kB / 1.128 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.9874, allocations: 4 kB / 1.128 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.9878, allocations: 84.05 kB / 1.128 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.9878, allocations: 7.984 kB / 1.128 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.9882, allocations: 79.66 kB / 1.128 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.9883, allocations: 33.42 kB / 1.128 GB, free: 6.617 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.0001767/0.9884, allocations: 164.8 kB / 1.128 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.9885, allocations: 35.53 kB / 1.128 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008616/0.9894, allocations: 496.6 kB / 1.129 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.9894, allocations: 8 kB / 1.129 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9894, allocations: 0 / 1.129 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.9894, allocations: 0 / 1.129 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.9912, allocations: 1.188 MB / 1.13 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.9912, allocations: 0 / 1.13 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.9915, allocations: 55.91 kB / 1.13 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.319e-05/0.9915, allocations: 7.953 kB / 1.13 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.9916, allocations: 18.8 kB / 1.13 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.9916, allocations: 6.906 kB / 1.13 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9916, allocations: 0 / 1.13 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007625/0.9924, allocations: 0.5305 MB / 1.131 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.9925, allocations: 128.5 kB / 1.131 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.9926, allocations: 15.95 kB / 1.131 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.9929, allocations: 63.94 kB / 1.131 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.9931, allocations: 80.44 kB / 1.131 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.9931, allocations: 16 kB / 1.131 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002369/0.9934, allocations: 223.1 kB / 1.131 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9934, allocations: 0 / 1.131 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004452/0.9938, allocations: 111.8 kB / 1.131 GB, free: 3.41 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.001852/0.9957, allocations: 1.339 MB / 1.132 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008679/0.9966, allocations: 0.4925 MB / 1.133 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9966, allocations: 0 / 1.133 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.997, allocations: 243.2 kB / 1.133 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.9974, allocations: 60.42 kB / 1.133 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.999, allocations: 0.7323 MB / 1.134 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.9995, allocations: 0.8546 MB / 1.135 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002602/0.9998, allocations: 73.53 kB / 1.135 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/1, allocations: 163.4 kB / 1.135 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/1, allocations: 0 / 1.135 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/1.024, allocations: 9.391 MB / 1.144 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/1.024, allocations: 237.6 kB / 1.144 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.399, allocations: 0 / 1.144 GB, free: 6.145 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)