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.422/1.422, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.001119, allocations: 179.5 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.4 MB / 0.5776 GB, free: 20.21 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.0007665/0.0007667, allocations: 82.59 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003365, allocations: 8.812 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2482, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002983/0.2513, allocations: 2.523 MB / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.2532, allocations: 1.342 MB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.2534, allocations: 11.94 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.2538, allocations: 87.45 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.2541, allocations: 115.3 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000743/0.2549, allocations: 292.5 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.2553, allocations: 475.2 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.2555, allocations: 140.4 kB / 0.9052 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.2557, allocations: 159.1 kB / 0.9053 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.2559, allocations: 155.1 kB / 0.9055 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.2559, allocations: 12 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.256, allocations: 47.97 kB / 0.9055 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.2561, allocations: 67.62 kB / 0.9056 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.2562, allocations: 97.45 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.2566, allocations: 463.1 kB / 0.9061 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2566, allocations: 0 / 0.9061 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2566, allocations: 0 / 0.9061 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.2566, allocations: 0 / 0.9061 GB, free: 57.82 MB / 0.6042 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.001009/0.2577, allocations: 0.7259 MB / 0.9068 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2577, allocations: 8.031 kB / 0.9068 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.164e-05/0.2578, allocations: 70.48 kB / 0.9069 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/0.2579, allocations: 55.34 kB / 0.907 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.2584, allocations: 421.4 kB / 0.9074 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.2584, allocations: 24.55 kB / 0.9074 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.2585, allocations: 24 kB / 0.9074 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.259, allocations: 335.9 kB / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.259, allocations: 0 / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.2591, allocations: 12 kB / 0.9077 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2591, allocations: 7.953 kB / 0.9077 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.2595, allocations: 226.1 kB / 0.908 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.2607, allocations: 1.105 MB / 0.909 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005508/0.2613, allocations: 239.4 kB / 0.9093 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.2615, allocations: 117.2 kB / 0.9094 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.2615, allocations: 8.188 kB / 0.9094 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003428/0.2619, allocations: 157.5 kB / 0.9095 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.2619, allocations: 0 / 0.9095 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0007531/0.2626, allocations: 372.3 kB / 0.9099 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.2627, allocations: 102.8 kB / 0.91 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.2631, allocations: 465.8 kB / 0.9104 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.2631, allocations: 29.7 kB / 0.9105 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2633, allocations: 236.5 kB / 0.9107 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.2633, allocations: 74.98 kB / 0.9108 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.2633, allocations: 4 kB / 0.9108 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.2634, allocations: 358.8 kB / 0.9111 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.2636, allocations: 83.95 kB / 0.9112 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.2639, allocations: 167.6 kB / 0.9113 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.2641, allocations: 99.78 kB / 0.9114 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2641, allocations: 0 / 0.9114 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005284/0.2646, allocations: 304.9 kB / 0.9117 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2646, allocations: 8 kB / 0.9117 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2647, allocations: 0 / 0.9117 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2647, allocations: 4 kB / 0.9117 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.2649, allocations: 59.86 kB / 0.9118 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2649, allocations: 0 / 0.9118 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.2651, allocations: 35.73 kB / 0.9118 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.2652, allocations: 12.12 kB / 0.9118 GB, free: 51.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001833/0.2654, allocations: 177.7 kB / 0.912 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.2654, allocations: 43.44 kB / 0.9121 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.236e-05/0.2655, allocations: 51.91 kB / 0.9121 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2655, allocations: 3.938 kB / 0.9121 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2656, allocations: 3.953 kB / 0.9121 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.2656, allocations: 4 kB / 0.9121 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.2659, allocations: 413.2 kB / 0.9125 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2659, allocations: 8 kB / 0.9125 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.2662, allocations: 35.92 kB / 0.9126 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2662, allocations: 4 kB / 0.9126 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.2662, allocations: 7.984 kB / 0.9126 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2662, allocations: 4 kB / 0.9126 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2663, allocations: 0 / 0.9126 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008801/0.2671, allocations: 435.3 kB / 0.913 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.2673, allocations: 144.5 kB / 0.9131 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/0.2674, allocations: 4 kB / 0.9131 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.2676, allocations: 20.05 kB / 0.9131 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.2676, allocations: 23.97 kB / 0.9132 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.2677, allocations: 7.984 kB / 0.9132 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003248/0.268, allocations: 323.1 kB / 0.9135 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.268, allocations: 0 / 0.9135 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003491/0.2684, allocations: 83.8 kB / 0.9136 GB, free: 49.78 MB / 0.6042 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.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.002015/0.2704, allocations: 1.304 MB / 0.9148 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005835/0.271, allocations: 223.7 kB / 0.915 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.271, allocations: 0 / 0.915 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.2713, allocations: 118.2 kB / 0.9152 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.272, allocations: 101.9 kB / 0.9153 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.2754, allocations: 2.344 MB / 0.9175 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.2756, allocations: 0.8151 MB / 0.9183 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000221/0.2758, allocations: 51.27 kB / 0.9184 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.276, allocations: 147.4 kB / 0.9185 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.276, allocations: 0 / 0.9185 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.2961, allocations: 8.673 MB / 0.927 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.2963, allocations: 286.8 kB / 0.9273 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/2.728, allocations: 0 / 0.9273 GB, free: 35.93 MB / 0.6042 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)