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.718/1.718, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001057/0.001057, allocations: 182.4 kB / 371.6 MB, free: 3.391 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.752/1.752, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.001014/0.001013, allocations: 89.27 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.883e-05/3.916e-05, allocations: 0 / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2945, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8308/1.125, allocations: 149.3 MB / 1.126 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/1.126, allocations: 91.09 kB / 1.126 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0244/1.15, allocations: 10.43 MB / 1.136 GB, free: 31.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.593e-06/1.15, allocations: 0 / 1.136 GB, free: 31.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.008e-05/1.15, allocations: 8 kB / 1.136 GB, free: 31.44 MB / 0.7448 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.0008594/1.151, allocations: 0.6886 MB / 1.137 GB, free: 30.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.151, allocations: 8.031 kB / 1.137 GB, free: 30.78 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.539e-05/1.151, allocations: 60.58 kB / 1.137 GB, free: 30.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.893e-05/1.151, allocations: 55.34 kB / 1.137 GB, free: 30.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/1.152, allocations: 424.9 kB / 1.137 GB, free: 30.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/1.152, allocations: 27.94 kB / 1.137 GB, free: 30.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/1.152, allocations: 23.69 kB / 1.137 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/1.152, allocations: 323.3 kB / 1.137 GB, free: 30.08 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.152, allocations: 4 kB / 1.137 GB, free: 30.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/1.152, allocations: 12.56 kB / 1.138 GB, free: 30.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.152, allocations: 8.344 kB / 1.138 GB, free: 30.06 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/1.153, allocations: 201.8 kB / 1.138 GB, free: 29.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/1.154, allocations: 1.168 MB / 1.139 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/1.154, allocations: 232.2 kB / 1.139 GB, free: 28.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/1.155, allocations: 99.06 kB / 1.139 GB, free: 28.92 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/1.155, allocations: 12.81 kB / 1.139 GB, free: 28.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/1.155, allocations: 147.3 kB / 1.139 GB, free: 28.81 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 2.525e-06/1.155, allocations: 0 / 1.139 GB, free: 28.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0004321/1.155, allocations: 255.6 kB / 1.14 GB, free: 28.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/1.155, allocations: 166.7 kB / 1.14 GB, free: 28.44 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/1.156, allocations: 403.7 kB / 1.14 GB, free: 28.15 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/1.156, allocations: 29.58 kB / 1.14 GB, free: 28.12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/1.156, allocations: 234 kB / 1.14 GB, free: 27.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/1.156, allocations: 73.09 kB / 1.14 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/1.156, allocations: 3.125 kB / 1.14 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/1.156, allocations: 357.4 kB / 1.141 GB, free: 27.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/1.156, allocations: 75.25 kB / 1.141 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/1.156, allocations: 169.7 kB / 1.141 GB, free: 27.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/1.157, allocations: 85.08 kB / 1.141 GB, free: 27.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.157, allocations: 3.938 kB / 1.141 GB, free: 27.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003836/1.157, allocations: 275.1 kB / 1.141 GB, free: 27.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.157, allocations: 4.609 kB / 1.141 GB, free: 27.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/1.157, allocations: 0 / 1.141 GB, free: 27.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.157, allocations: 4 kB / 1.141 GB, free: 27.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/1.157, allocations: 57.5 kB / 1.141 GB, free: 27.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.157, allocations: 1.312 kB / 1.141 GB, free: 27.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/1.158, allocations: 49.28 kB / 1.141 GB, free: 27.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/1.158, allocations: 12.06 kB / 1.141 GB, free: 27.07 MB / 0.7448 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 8.211e-05/1.158, allocations: 126.1 kB / 1.142 GB, free: 26.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/1.158, allocations: 44.08 kB / 1.142 GB, free: 26.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004695/1.158, allocations: 275.6 kB / 1.142 GB, free: 26.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.158, allocations: 4 kB / 1.142 GB, free: 26.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.158, allocations: 2.297 kB / 1.142 GB, free: 26.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.158, allocations: 5.219 kB / 1.142 GB, free: 26.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/1.159, allocations: 451.9 kB / 1.142 GB, free: 26.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.159, allocations: 0 / 1.142 GB, free: 26.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/1.159, allocations: 44.16 kB / 1.142 GB, free: 26.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.159, allocations: 0 / 1.142 GB, free: 26.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/1.159, allocations: 5.875 kB / 1.142 GB, free: 26.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.159, allocations: 0.6562 kB / 1.142 GB, free: 26.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.159, allocations: 1.125 kB / 1.142 GB, free: 26.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/1.16, allocations: 427.8 kB / 1.143 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/1.16, allocations: 147.4 kB / 1.143 GB, free: 25.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/1.16, allocations: 8.719 kB / 1.143 GB, free: 25.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/1.16, allocations: 24.78 kB / 1.143 GB, free: 25.97 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/1.16, allocations: 20.12 kB / 1.143 GB, free: 25.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/1.16, allocations: 5.125 kB / 1.143 GB, free: 25.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003192/1.16, allocations: 322.8 kB / 1.143 GB, free: 25.74 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.16, allocations: 0 / 1.143 GB, free: 25.74 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003635/1.161, allocations: 102.6 kB / 1.143 GB, free: 25.65 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.001566/1.162, allocations: 1.253 MB / 1.145 GB, free: 24.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003775/1.163, allocations: 215.2 kB / 1.145 GB, free: 24.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.163, allocations: 4 kB / 1.145 GB, free: 24.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/1.163, allocations: 111.8 kB / 1.145 GB, free: 24.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/1.163, allocations: 91.03 kB / 1.145 GB, free: 24.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/1.165, allocations: 0.6013 MB / 1.146 GB, free: 23.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/1.165, allocations: 0.8238 MB / 1.146 GB, free: 23.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002031/1.165, allocations: 56.12 kB / 1.146 GB, free: 23.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/1.165, allocations: 139.6 kB / 1.147 GB, free: 23.09 MB / 0.7448 GB Notification: Performance of SimCode: time 3.2e-07/1.165, allocations: 4 kB / 1.147 GB, free: 23.09 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/1.188, allocations: 8.786 MB / 1.155 GB, free: 17.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/1.189, allocations: 236.7 kB / 1.155 GB, free: 17.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/3.32, allocations: 0 / 1.155 GB, free: 17.7 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)