Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.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.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Controls_Validation_ChillerStage",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.69/1.69, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001162/0.001162, allocations: 181.4 kB / 371.6 MB, free: 3.395 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.627/1.627, allocations: 205.2 MB / 0.6309 GB, free: 11.78 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.001002/0.001002, allocations: 91.72 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.44e-05/6.444e-05, allocations: 4 kB / 0.8664 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2982, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.476, allocations: 372.4 MB / 1.344 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/1.476, allocations: 106.5 kB / 1.344 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.0609/1.537, allocations: 23.31 MB / 1.366 GB, free: 4.863 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.684e-06/1.537, allocations: 3.984 kB / 1.366 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.868e-05/1.537, allocations: 15.94 kB / 1.366 GB, free: 4.844 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001593/1.539, allocations: 0.7755 MB / 1.367 GB, free: 4.055 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/1.539, allocations: 9.156 kB / 1.367 GB, free: 4.047 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/1.539, allocations: 97.27 kB / 1.367 GB, free: 3.977 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/1.539, allocations: 66.59 kB / 1.367 GB, free: 3.914 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7265/2.266, allocations: 6.058 MB / 1.373 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/2.266, allocations: 48.2 kB / 1.373 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.973e-05/2.266, allocations: 58.56 kB / 1.373 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/2.267, allocations: 0.534 MB / 1.374 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/2.267, allocations: 0.8906 kB / 1.374 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/2.267, allocations: 25.25 kB / 1.374 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/2.267, allocations: 13.72 kB / 1.374 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/2.268, allocations: 408 kB / 1.374 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/2.27, allocations: 1.502 MB / 1.376 GB, free: 267.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007464/2.271, allocations: 406.7 kB / 1.376 GB, free: 267.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/2.272, allocations: 193.7 kB / 1.376 GB, free: 267.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/2.272, allocations: 13.06 kB / 1.376 GB, free: 267.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/2.272, allocations: 257.2 kB / 1.377 GB, free: 267.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=55): time 3.507e-06/2.272, allocations: 0 / 1.377 GB, free: 267.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55): time 0.0007904/2.273, allocations: 401.8 kB / 1.377 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/2.273, allocations: 92.08 kB / 1.377 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/2.273, allocations: 354.6 kB / 1.377 GB, free: 267.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.354e-05/2.273, allocations: 52.98 kB / 1.377 GB, free: 267.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/2.274, allocations: 237.3 kB / 1.378 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/2.274, allocations: 138.8 kB / 1.378 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/2.274, allocations: 15.16 kB / 1.378 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001029/2.274, allocations: 355.5 kB / 1.378 GB, free: 266.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/2.274, allocations: 160.1 kB / 1.378 GB, free: 266.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/2.275, allocations: 268.1 kB / 1.379 GB, free: 266.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/2.275, allocations: 157.5 kB / 1.379 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/2.275, allocations: 4.594 kB / 1.379 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009572/2.276, allocations: 493.2 kB / 1.379 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/2.276, allocations: 5.781 kB / 1.379 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/2.276, allocations: 7.156 kB / 1.379 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/2.276, allocations: 6.406 kB / 1.379 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/2.276, allocations: 75.16 kB / 1.379 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/2.276, allocations: 7.703 kB / 1.379 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/2.277, allocations: 57.69 kB / 1.379 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/2.277, allocations: 21.33 kB / 1.379 GB, free: 266.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.chiStaCon.offToOne.enableFire,$PRE.chiStaCon.oneToTwo.enableFire,$PRE.chiStaCon.twoToOne.enableFire,$PRE.chiStaCon.oneToOff.enableFire,$whenCondition5,$PRE.on.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.on,chiStaCon.y[1],$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.offToOne.enableFire,chiStaCon.offToOne.fire,$PRE.chiStaCon.offToOne.t_start,chiStaCon.offToOne.t_start,chiStaCon.oneToTwo.enableFire,chiStaCon.oneToTwo.fire,$PRE.chiStaCon.oneToTwo.t_start,chiStaCon.oneToTwo.t_start,chiStaCon.twoToOne.enableFire,chiStaCon.twoToOne.fire,$PRE.chiStaCon.twoToOne.t_start,chiStaCon.twoToOne.t_start,chiStaCon.oneToOff.enableFire,chiStaCon.oneToOff.fire,$PRE.chiStaCon.oneToOff.t_start,chiStaCon.oneToOff.t_start,$PRE.chiStaCon.thrOneToTwo.y,chiStaCon.thrOneToTwo.y,chiStaCon.TwoToOne.y,on.combiTimeTable.nextTimeEvent,$PRE.on.combiTimeTable.nextTimeEventScaled,on.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * 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.0002038/2.277, allocations: 174.2 kB / 1.38 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/2.277, allocations: 39.48 kB / 1.38 GB, free: 266.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009766/2.278, allocations: 489.4 kB / 1.38 GB, free: 266.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/2.278, allocations: 9.797 kB / 1.38 GB, free: 266.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/2.278, allocations: 2.062 kB / 1.38 GB, free: 266.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/2.278, allocations: 3.797 kB / 1.38 GB, free: 266.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/2.28, allocations: 1.195 MB / 1.381 GB, free: 266.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/2.28, allocations: 0 / 1.381 GB, free: 266.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/2.28, allocations: 51.58 kB / 1.381 GB, free: 266.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/2.28, allocations: 3.109 kB / 1.381 GB, free: 266.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/2.28, allocations: 14.42 kB / 1.381 GB, free: 266.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/2.28, allocations: 2.375 kB / 1.381 GB, free: 266.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/2.28, allocations: 1 kB / 1.381 GB, free: 266.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/2.281, allocations: 0.5372 MB / 1.382 GB, free: 265.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/2.281, allocations: 127.7 kB / 1.382 GB, free: 265.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.92e-05/2.281, allocations: 18.03 kB / 1.382 GB, free: 265.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/2.282, allocations: 33.2 kB / 1.382 GB, free: 265.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/2.282, allocations: 75.09 kB / 1.382 GB, free: 265.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/2.282, allocations: 21 kB / 1.382 GB, free: 265.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003361/2.282, allocations: 246.1 kB / 1.382 GB, free: 265.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/2.282, allocations: 0.9688 kB / 1.382 GB, free: 265.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00056/2.283, allocations: 124.5 kB / 1.382 GB, free: 265.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 44 (chiStaCon.twoToOne.enableFire,chiStaCon.oneToOff.enableFire,chiStaCon.offToOne.enableFire,chiStaCon.oneToTwo.enableFire,chiStaCon.twoOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.off.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.on,chiStaCon.y[1],chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.offToOne.fire,chiStaCon.offToOne.t_start,chiStaCon.oneToTwo.fire,chiStaCon.oneToTwo.t_start,chiStaCon.twoToOne.fire,chiStaCon.twoToOne.t_start,chiStaCon.oneToOff.fire,chiStaCon.oneToOff.t_start,chiStaCon.thrOneToTwo.y,chiStaCon.TwoToOne.y,on.combiTimeTable.nextTimeEvent,on.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (on.combiTimeTable.nextTimeEvent,chiStaCon.off.newActive,chiStaCon.oneOn.newActive,chiStaCon.twoOn.newActive,chiStaCon.thrOneToTwo.y,on.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 53 * 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.002182/2.285, allocations: 1.424 MB / 1.384 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00086/2.286, allocations: 440.6 kB / 1.384 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/2.286, allocations: 1.062 kB / 1.384 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004273/2.286, allocations: 230.6 kB / 1.384 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/2.287, allocations: 78.36 kB / 1.385 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/2.289, allocations: 0.7716 MB / 1.385 GB, free: 264.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/2.289, allocations: 0.8794 MB / 1.386 GB, free: 264 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003035/2.29, allocations: 77.09 kB / 1.386 GB, free: 264 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/2.29, allocations: 187.2 kB / 1.386 GB, free: 264 MB / 0.9323 GB Notification: Performance of SimCode: time 1.844e-06/2.29, allocations: 0 / 1.386 GB, free: 264 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/2.321, allocations: 11.15 MB / 1.397 GB, free: 263.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/2.321, allocations: 224.1 kB / 1.398 GB, free: 263 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/4.791, allocations: 4 kB / 1.398 GB, free: 263 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Controls_Validation_ChillerStage_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Controls_Validation_ChillerStage.fmu > Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe 2>&1)