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.758/1.758, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001602/0.001602, allocations: 192.2 kB / 377.1 MB, free: 1.52 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.941/1.941, allocations: 205.4 MB / 0.6366 GB, free: 8.594 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.001138/0.001138, allocations: 87.94 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003649, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3076, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.4, allocations: 372.4 MB / 1.352 GB, free: 1.707 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/1.401, allocations: 114 kB / 1.352 GB, free: 1.598 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.6862/2.087, allocations: 23.39 MB / 1.375 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.055e-06/2.087, allocations: 3.844 kB / 1.375 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.105e-05/2.087, allocations: 16.19 kB / 1.375 GB, free: 273.2 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.001458/2.089, allocations: 0.8359 MB / 1.376 GB, free: 272.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/2.089, allocations: 8.312 kB / 1.376 GB, free: 272.6 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/2.089, allocations: 98.44 kB / 1.376 GB, free: 272.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/2.089, allocations: 67.02 kB / 1.376 GB, free: 272.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/2.102, allocations: 6.119 MB / 1.382 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/2.102, allocations: 47.11 kB / 1.382 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/2.103, allocations: 59.02 kB / 1.382 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/2.104, allocations: 0.5548 MB / 1.383 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/2.104, allocations: 0 / 1.383 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/2.104, allocations: 23.39 kB / 1.383 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/2.104, allocations: 12.09 kB / 1.383 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009671/2.105, allocations: 434 kB / 1.383 GB, free: 272 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/2.108, allocations: 1.498 MB / 1.385 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/2.109, allocations: 422.6 kB / 1.385 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/2.109, allocations: 7.484 kB / 1.385 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007066/2.11, allocations: 271.4 kB / 1.385 GB, free: 271.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=55): time 2.565e-06/2.11, allocations: 0 / 1.385 GB, free: 271.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55): time 0.001727/2.112, allocations: 0.5539 MB / 1.386 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/2.112, allocations: 95.48 kB / 1.386 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007003/2.113, allocations: 363.2 kB / 1.386 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.706e-05/2.113, allocations: 53.19 kB / 1.386 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/2.113, allocations: 234.2 kB / 1.387 GB, free: 271.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/2.113, allocations: 138.5 kB / 1.387 GB, free: 271 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/2.113, allocations: 14.62 kB / 1.387 GB, free: 271 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001603/2.113, allocations: 356.4 kB / 1.387 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/2.114, allocations: 170.2 kB / 1.387 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/2.114, allocations: 280.6 kB / 1.387 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/2.115, allocations: 168.4 kB / 1.388 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/2.115, allocations: 2.031 kB / 1.388 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001252/2.116, allocations: 0.5191 MB / 1.388 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/2.116, allocations: 7.062 kB / 1.388 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/2.116, allocations: 1.719 kB / 1.388 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/2.116, allocations: 8.938 kB / 1.388 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/2.116, allocations: 70.41 kB / 1.388 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-05/2.116, allocations: 5.969 kB / 1.388 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/2.117, allocations: 58.56 kB / 1.388 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/2.117, allocations: 24.06 kB / 1.388 GB, free: 270.5 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 () * Number of clocked 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.0004556/2.117, allocations: 238.6 kB / 1.389 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.061e-05/2.117, allocations: 48.73 kB / 1.389 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/2.119, allocations: 0.5007 MB / 1.389 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/2.119, allocations: 6.688 kB / 1.389 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/2.119, allocations: 0.9062 kB / 1.389 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/2.119, allocations: 3.516 kB / 1.389 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/2.121, allocations: 1.216 MB / 1.39 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/2.121, allocations: 1.516 kB / 1.39 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/2.122, allocations: 54 kB / 1.39 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/2.122, allocations: 1.781 kB / 1.39 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/2.122, allocations: 14.59 kB / 1.39 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/2.122, allocations: 2 kB / 1.39 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/2.122, allocations: 1.812 kB / 1.39 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/2.123, allocations: 0.5526 MB / 1.391 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/2.123, allocations: 131.2 kB / 1.391 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/2.123, allocations: 12.06 kB / 1.391 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/2.123, allocations: 35.52 kB / 1.391 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/2.123, allocations: 71.61 kB / 1.391 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/2.123, allocations: 19.97 kB / 1.391 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003159/2.124, allocations: 255.9 kB / 1.391 GB, free: 269.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.92e-07/2.124, allocations: 1 kB / 1.391 GB, free: 269.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006061/2.124, allocations: 133.2 kB / 1.391 GB, free: 269.5 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) * Number of clocked states: 0 () * 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.002134/2.126, allocations: 1.483 MB / 1.393 GB, free: 268.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0009972/2.127, allocations: 465.8 kB / 1.393 GB, free: 268.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/2.127, allocations: 1.031 kB / 1.393 GB, free: 268.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004292/2.128, allocations: 242.3 kB / 1.394 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/2.128, allocations: 73.88 kB / 1.394 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004783/2.133, allocations: 3.892 MB / 1.397 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/2.134, allocations: 0.8757 MB / 1.398 GB, free: 265.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002847/2.134, allocations: 78.02 kB / 1.398 GB, free: 265.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/2.134, allocations: 184.9 kB / 1.399 GB, free: 265.8 MB / 0.9323 GB Notification: Performance of SimCode: time 9.41e-07/2.134, allocations: 0 / 1.399 GB, free: 265.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/2.159, allocations: 11.06 MB / 1.409 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/2.159, allocations: 257.3 kB / 1.41 GB, free: 264.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/4.764, allocations: 2.5 kB / 1.41 GB, free: 264.5 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)