Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_8_0_0_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_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 8.0.0/package.mo): time 2.653/2.653, allocations: 287.3 MB / 302.3 MB, free: 8.207 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.001551/0.001551, allocations: 185 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 85.66 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004781, allocations: 11.78 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2171, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9505/1.168, allocations: 143.7 MB / 1.119 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/1.168, allocations: 99.41 kB / 1.119 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04499/1.213, allocations: 9.575 MB / 1.128 GB, free: 30.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.018e-06/1.213, allocations: 0 / 1.128 GB, free: 30.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.884e-05/1.213, allocations: 19.3 kB / 1.128 GB, free: 30.48 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.002637/1.216, allocations: 0.7624 MB / 1.129 GB, free: 29.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6e-05/1.216, allocations: 15.64 kB / 1.129 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002327/1.216, allocations: 82.73 kB / 1.129 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/1.217, allocations: 58.03 kB / 1.129 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/1.218, allocations: 378.8 kB / 1.129 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.179e-05/1.218, allocations: 48.92 kB / 1.129 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/1.218, allocations: 56.38 kB / 1.129 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/1.22, allocations: 0.5157 MB / 1.13 GB, free: 29.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/1.22, allocations: 0 / 1.13 GB, free: 29.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.22, allocations: 22.39 kB / 1.13 GB, free: 29.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/1.22, allocations: 19.56 kB / 1.13 GB, free: 29.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/1.223, allocations: 451.2 kB / 1.13 GB, free: 29.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004869/1.227, allocations: 1.43 MB / 1.132 GB, free: 28.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/1.23, allocations: 0.4884 MB / 1.132 GB, free: 28.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-05/1.23, allocations: 16.02 kB / 1.132 GB, free: 28.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/1.231, allocations: 286.2 kB / 1.133 GB, free: 28.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 6.171e-06/1.231, allocations: 4 kB / 1.133 GB, free: 28.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.003107/1.234, allocations: 0.6299 MB / 1.133 GB, free: 28.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.301e-05/1.234, allocations: 63.23 kB / 1.133 GB, free: 28.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007311/1.235, allocations: 310.6 kB / 1.134 GB, free: 27.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/1.235, allocations: 55.16 kB / 1.134 GB, free: 27.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/1.236, allocations: 213.3 kB / 1.134 GB, free: 27.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/1.236, allocations: 146.1 kB / 1.134 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/1.236, allocations: 14.53 kB / 1.134 GB, free: 27.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002388/1.236, allocations: 355.1 kB / 1.134 GB, free: 27.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/1.237, allocations: 191.8 kB / 1.134 GB, free: 27.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.238, allocations: 283.1 kB / 1.135 GB, free: 27.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009679/1.239, allocations: 216.7 kB / 1.135 GB, free: 27.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/1.239, allocations: 0 / 1.135 GB, free: 27.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002524/1.242, allocations: 0.5843 MB / 1.136 GB, free: 27.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/1.242, allocations: 33.52 kB / 1.136 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/1.242, allocations: 0 / 1.136 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/1.242, allocations: 3.875 kB / 1.136 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008522/1.243, allocations: 81.28 kB / 1.136 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/1.243, allocations: 3.844 kB / 1.136 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/1.244, allocations: 82.94 kB / 1.136 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/1.244, allocations: 22.73 kB / 1.136 GB, free: 26.95 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.0006558/1.245, allocations: 244.4 kB / 1.136 GB, free: 26.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/1.245, allocations: 38.69 kB / 1.136 GB, free: 26.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/1.248, allocations: 0.5378 MB / 1.137 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/1.248, allocations: 7.875 kB / 1.137 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.248, allocations: 0 / 1.137 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/1.248, allocations: 3.984 kB / 1.137 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004443/1.252, allocations: 1.24 MB / 1.138 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.252, allocations: 0 / 1.138 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/1.253, allocations: 62.27 kB / 1.138 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/1.253, allocations: 3.953 kB / 1.138 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-05/1.253, allocations: 14.66 kB / 1.138 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.349e-05/1.253, allocations: 7.828 kB / 1.138 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.253, allocations: 0 / 1.138 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/1.255, allocations: 0.5838 MB / 1.138 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/1.255, allocations: 123.6 kB / 1.139 GB, free: 25.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/1.256, allocations: 26.44 kB / 1.139 GB, free: 25.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009087/1.257, allocations: 57.55 kB / 1.139 GB, free: 25.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000371/1.257, allocations: 81.53 kB / 1.139 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/1.257, allocations: 23.33 kB / 1.139 GB, free: 25.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004794/1.258, allocations: 216.6 kB / 1.139 GB, free: 25.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.61e-07/1.258, allocations: 0 / 1.139 GB, free: 25.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009965/1.259, allocations: 107.6 kB / 1.139 GB, free: 25.55 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.004312/1.263, allocations: 1.439 MB / 1.14 GB, free: 24.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002479/1.265, allocations: 0.5536 MB / 1.141 GB, free: 24.56 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.266, allocations: 0 / 1.141 GB, free: 24.56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/1.267, allocations: 278.7 kB / 1.141 GB, free: 24.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/1.268, allocations: 53.47 kB / 1.141 GB, free: 24.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009779/1.277, allocations: 3.592 MB / 1.145 GB, free: 22.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/1.278, allocations: 0.8508 MB / 1.146 GB, free: 21.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007136/1.279, allocations: 76.84 kB / 1.146 GB, free: 21.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005839/1.28, allocations: 165.1 kB / 1.146 GB, free: 21.49 MB / 0.698 GB Notification: Performance of SimCode: time 1.994e-06/1.28, allocations: 4 kB / 1.146 GB, free: 21.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04479/1.324, allocations: 9.278 MB / 1.155 GB, free: 17.14 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004298/1.325, allocations: 271 kB / 1.155 GB, free: 16.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/4.173, allocations: 0 / 1.155 GB, free: 16.79 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)