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.705/1.705, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.001219/0.001219, allocations: 184.8 kB / 366.7 MB, free: 1.676 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.842/1.842, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0009018/0.0009019, allocations: 90.47 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.953e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7507/0.7507, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2032/0.9539, allocations: 148.6 MB / 1.118 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.9542, allocations: 99.88 kB / 1.119 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02678/0.981, allocations: 10.34 MB / 1.129 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9811, allocations: 0 / 1.129 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.654e-05/0.9811, allocations: 11.28 kB / 1.129 GB, free: 7.109 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.001007/0.9821, allocations: 0.6918 MB / 1.129 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.9822, allocations: 8.031 kB / 1.129 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.9823, allocations: 55.64 kB / 1.129 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006457/0.983, allocations: 435.7 kB / 1.13 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.983, allocations: 8 kB / 1.13 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.983, allocations: 19.98 kB / 1.13 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003476/0.9834, allocations: 177.1 kB / 1.13 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.9839, allocations: 291.7 kB / 1.13 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.9839, allocations: 0 / 1.13 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.9839, allocations: 4 kB / 1.13 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.9839, allocations: 8 kB / 1.13 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.9854, allocations: 1.096 MB / 1.131 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.9858, allocations: 223.3 kB / 1.132 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.986, allocations: 94.72 kB / 1.132 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.986, allocations: 4.188 kB / 1.132 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.9863, allocations: 135.5 kB / 1.132 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 3.887e-06/0.9863, allocations: 0 / 1.132 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0004527/0.9867, allocations: 246.7 kB / 1.132 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.9868, allocations: 158.2 kB / 1.132 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.9872, allocations: 369.2 kB / 1.133 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.9873, allocations: 29.7 kB / 1.133 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.9874, allocations: 224.2 kB / 1.133 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.9875, allocations: 63.02 kB / 1.133 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.9875, allocations: 0 / 1.133 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.9876, allocations: 358.8 kB / 1.133 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.9878, allocations: 71.98 kB / 1.133 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.988, allocations: 156.4 kB / 1.133 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.9881, allocations: 90.34 kB / 1.134 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9881, allocations: 0 / 1.134 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003854/0.9885, allocations: 253 kB / 1.134 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.9885, allocations: 5.719 kB / 1.134 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.9885, allocations: 4 kB / 1.134 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.9886, allocations: 0 / 1.134 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.9888, allocations: 56.66 kB / 1.134 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.9889, allocations: 2.266 kB / 1.134 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.9891, allocations: 35.95 kB / 1.134 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.9891, allocations: 11.98 kB / 1.134 GB, free: 1.5 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 () * 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.0001023/0.9892, allocations: 119.4 kB / 1.134 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003497/0.9896, allocations: 242.8 kB / 1.134 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.9896, allocations: 39.53 kB / 1.134 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.9901, allocations: 256.8 kB / 1.134 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.9901, allocations: 2.062 kB / 1.134 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9901, allocations: 4 kB / 1.134 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.9901, allocations: 4 kB / 1.134 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.9905, allocations: 393.8 kB / 1.135 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.9905, allocations: 0 / 1.135 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.9907, allocations: 47.91 kB / 1.135 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.9908, allocations: 0 / 1.135 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.9908, allocations: 7.969 kB / 1.135 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.9908, allocations: 4 kB / 1.135 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9908, allocations: 0 / 1.135 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005806/0.9914, allocations: 400.1 kB / 1.135 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.9915, allocations: 152.6 kB / 1.135 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.9916, allocations: 4 kB / 1.135 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.9918, allocations: 15.98 kB / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.9919, allocations: 23.97 kB / 1.135 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.9919, allocations: 13.8 kB / 1.136 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002904/0.9922, allocations: 279 kB / 1.136 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9922, allocations: 4 kB / 1.136 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000362/0.9926, allocations: 87.78 kB / 1.136 GB, free: 15.36 MB / 0.7448 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) * 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.00167/0.9943, allocations: 1.202 MB / 1.137 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.9947, allocations: 204.6 kB / 1.137 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9947, allocations: 0 / 1.137 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.9948, allocations: 105.3 kB / 1.137 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.9953, allocations: 93.95 kB / 1.137 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.9966, allocations: 0.5789 MB / 1.138 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.9969, allocations: 0.8209 MB / 1.139 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001955/0.9971, allocations: 57.77 kB / 1.139 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.9974, allocations: 139.4 kB / 1.139 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/0.9974, allocations: 0 / 1.139 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/1.03, allocations: 7.877 MB / 1.147 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/1.03, allocations: 216.3 kB / 1.147 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.125/3.155, allocations: 2.234 kB / 1.147 GB, free: 4.207 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)