Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.CoolingTowerSpeed,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",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.64/1.64, allocations: 292.6 MB / 307.5 MB, free: 5.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.001068/0.001069, allocations: 191.9 kB / 377.1 MB, free: 1.523 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.562/1.562, allocations: 205.4 MB / 0.6366 GB, free: 9.605 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.0008588/0.0008588, allocations: 95.55 kB / 0.7509 GB, free: 62.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004596, allocations: 12 kB / 0.8749 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2967, allocations: 116.3 MB / 0.9884 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8118/1.109, allocations: 149.3 MB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/1.109, allocations: 94.61 kB / 1.134 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02994/1.139, allocations: 10.46 MB / 1.145 GB, free: 20.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.835e-06/1.139, allocations: 8 kB / 1.145 GB, free: 20.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.981e-05/1.139, allocations: 8 kB / 1.145 GB, free: 20.42 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001593/1.141, allocations: 0.7621 MB / 1.145 GB, free: 19.67 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.141, allocations: 12.58 kB / 1.145 GB, free: 19.66 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/1.141, allocations: 61.59 kB / 1.145 GB, free: 19.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/1.141, allocations: 55.34 kB / 1.145 GB, free: 19.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009276/1.142, allocations: 426 kB / 1.146 GB, free: 19.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/1.142, allocations: 22.84 kB / 1.146 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/1.142, allocations: 24 kB / 1.146 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007548/1.143, allocations: 363.6 kB / 1.146 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/1.143, allocations: 0 / 1.146 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/1.143, allocations: 16.66 kB / 1.146 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/1.143, allocations: 4.344 kB / 1.146 GB, free: 18.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/1.144, allocations: 259.7 kB / 1.147 GB, free: 18.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/1.146, allocations: 1.171 MB / 1.148 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/1.146, allocations: 291.4 kB / 1.148 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/1.146, allocations: 17.47 kB / 1.148 GB, free: 17.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004102/1.147, allocations: 179.4 kB / 1.148 GB, free: 17.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 2.655e-06/1.147, allocations: 0 / 1.148 GB, free: 17.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0009467/1.148, allocations: 411 kB / 1.149 GB, free: 16.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/1.148, allocations: 163.3 kB / 1.149 GB, free: 16.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/1.148, allocations: 412.4 kB / 1.149 GB, free: 16.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/1.148, allocations: 34.5 kB / 1.149 GB, free: 16.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/1.149, allocations: 229.3 kB / 1.149 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/1.149, allocations: 77.09 kB / 1.149 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/1.149, allocations: 0 / 1.149 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.149, allocations: 356.5 kB / 1.15 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/1.149, allocations: 102 kB / 1.15 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/1.149, allocations: 196.2 kB / 1.15 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/1.15, allocations: 116.8 kB / 1.15 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.15, allocations: 0 / 1.15 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006165/1.15, allocations: 328.4 kB / 1.15 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.15, allocations: 4.125 kB / 1.15 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/1.15, allocations: 8.547 kB / 1.15 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.15, allocations: 0 / 1.15 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/1.151, allocations: 58.84 kB / 1.151 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.151, allocations: 4 kB / 1.151 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/1.151, allocations: 45.5 kB / 1.151 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/1.151, allocations: 17.22 kB / 1.151 GB, free: 14.63 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.000232/1.151, allocations: 178.4 kB / 1.151 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/1.151, allocations: 39.53 kB / 1.151 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006765/1.152, allocations: 342.6 kB / 1.151 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.152, allocations: 0 / 1.151 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.152, allocations: 6.438 kB / 1.151 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/1.152, allocations: 0 / 1.151 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/1.152, allocations: 438.3 kB / 1.152 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.152, allocations: 0 / 1.152 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/1.153, allocations: 52.25 kB / 1.152 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.153, allocations: 0 / 1.152 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/1.153, allocations: 10.3 kB / 1.152 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/1.153, allocations: 1.406 kB / 1.152 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.153, allocations: 3.938 kB / 1.152 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/1.154, allocations: 494.8 kB / 1.152 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/1.154, allocations: 156.6 kB / 1.152 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/1.154, allocations: 8.562 kB / 1.152 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/1.154, allocations: 26.38 kB / 1.152 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/1.154, allocations: 15.78 kB / 1.152 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/1.154, allocations: 9.125 kB / 1.152 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003947/1.155, allocations: 323.5 kB / 1.153 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/1.155, allocations: 0 / 1.153 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004323/1.155, allocations: 105.8 kB / 1.153 GB, free: 12.64 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002348/1.157, allocations: 1.36 MB / 1.154 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006672/1.158, allocations: 274.4 kB / 1.154 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.158, allocations: 8.25 kB / 1.154 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/1.158, allocations: 132.3 kB / 1.154 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/1.159, allocations: 97.12 kB / 1.155 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/1.163, allocations: 2.979 MB / 1.157 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/1.163, allocations: 0.8204 MB / 1.158 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002516/1.164, allocations: 52.3 kB / 1.158 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/1.164, allocations: 143 kB / 1.158 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of SimCode: time 4.1e-07/1.164, allocations: 0 / 1.158 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/1.187, allocations: 8.894 MB / 1.167 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/1.187, allocations: 256.9 kB / 1.167 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.617, allocations: 0 / 1.167 GB, free: 15.39 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)