Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.813/1.813, allocations: 249.3 MB / 261.8 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001628/0.001629, allocations: 186.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.2 MB / 0.572 GB, free: 10.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009059/0.000906, allocations: 94.47 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.33e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2499, allocations: 106.3 MB / 0.8919 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8953/1.145, allocations: 142.3 MB / 1.031 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/1.146, allocations: 101.3 kB / 1.031 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02843/1.174, allocations: 10.61 MB / 1.041 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.385e-06/1.174, allocations: 0 / 1.041 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.608e-05/1.174, allocations: 8.219 kB / 1.041 GB, free: 15.62 MB / 0.6667 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.001088/1.175, allocations: 0.702 MB / 1.042 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.175, allocations: 8.031 kB / 1.042 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.367e-05/1.175, allocations: 58.33 kB / 1.042 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/1.176, allocations: 59.3 kB / 1.042 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007017/1.176, allocations: 432.9 kB / 1.043 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/1.176, allocations: 27.42 kB / 1.043 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/1.176, allocations: 26.06 kB / 1.043 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/1.177, allocations: 320 kB / 1.043 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.177, allocations: 4 kB / 1.043 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/1.177, allocations: 17.94 kB / 1.043 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/1.177, allocations: 11.95 kB / 1.043 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/1.177, allocations: 195.7 kB / 1.043 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/1.179, allocations: 1.166 MB / 1.044 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/1.179, allocations: 232.8 kB / 1.044 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/1.179, allocations: 99.81 kB / 1.045 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/1.18, allocations: 4.188 kB / 1.045 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/1.18, allocations: 148.8 kB / 1.045 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=23): time 2.004e-06/1.18, allocations: 0 / 1.045 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23): time 0.0005079/1.18, allocations: 268.8 kB / 1.045 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/1.18, allocations: 158.2 kB / 1.045 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/1.181, allocations: 418.5 kB / 1.046 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/1.181, allocations: 29.58 kB / 1.046 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/1.181, allocations: 240.5 kB / 1.046 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/1.181, allocations: 70.8 kB / 1.046 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/1.181, allocations: 3.125 kB / 1.046 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.181, allocations: 356.1 kB / 1.046 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/1.182, allocations: 75.94 kB / 1.046 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/1.182, allocations: 165.6 kB / 1.046 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/1.182, allocations: 88.28 kB / 1.047 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/1.182, allocations: 0 / 1.047 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004548/1.182, allocations: 278.6 kB / 1.047 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.182, allocations: 4 kB / 1.047 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.182, allocations: 4 kB / 1.047 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.182, allocations: 0 / 1.047 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/1.183, allocations: 55.95 kB / 1.047 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/1.183, allocations: 11.89 kB / 1.047 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/1.183, allocations: 39.55 kB / 1.047 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/1.183, allocations: 11.88 kB / 1.047 GB, free: 10.71 MB / 0.6667 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.0001297/1.183, allocations: 123.8 kB / 1.047 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/1.183, allocations: 43.44 kB / 1.047 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/1.184, allocations: 284.4 kB / 1.047 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.184, allocations: 4 kB / 1.047 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.184, allocations: 0 / 1.047 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.184, allocations: 3.953 kB / 1.047 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/1.184, allocations: 450.7 kB / 1.048 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.184, allocations: 0 / 1.048 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/1.185, allocations: 43.91 kB / 1.048 GB, free: 9.918 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/1.185, allocations: 4 kB / 1.048 GB, free: 9.914 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/1.185, allocations: 3.938 kB / 1.048 GB, free: 9.914 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.185, allocations: 4 kB / 1.048 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.185, allocations: 0 / 1.048 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/1.185, allocations: 415.7 kB / 1.048 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/1.185, allocations: 164 kB / 1.048 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/1.186, allocations: 14.36 kB / 1.048 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/1.186, allocations: 19.36 kB / 1.048 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/1.186, allocations: 22.41 kB / 1.048 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/1.186, allocations: 7.062 kB / 1.048 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004013/1.186, allocations: 335.6 kB / 1.049 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/1.186, allocations: 0 / 1.049 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004144/1.187, allocations: 98.16 kB / 1.049 GB, free: 9.062 MB / 0.6667 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.001857/1.189, allocations: 1.241 MB / 1.05 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004369/1.189, allocations: 219.1 kB / 1.05 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.189, allocations: 0 / 1.05 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/1.189, allocations: 113.2 kB / 1.05 GB, free: 7.805 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/1.19, allocations: 103.4 kB / 1.05 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/1.191, allocations: 0.6104 MB / 1.051 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/1.192, allocations: 0.8301 MB / 1.052 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002164/1.192, allocations: 51.25 kB / 1.052 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/1.192, allocations: 146.9 kB / 1.052 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of SimCode: time 5.61e-07/1.192, allocations: 0 / 1.052 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/1.218, allocations: 9.107 MB / 1.061 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/1.218, allocations: 240 kB / 1.061 GB, free: 13 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.539, allocations: 8 kB / 1.061 GB, free: 12.99 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)