Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.759/2.759, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001713/0.001713, allocations: 177.1 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 101.1 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005086, allocations: 11.72 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2205, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003886/0.2244, allocations: 2.465 MB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003175/0.2277, allocations: 1.307 MB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004935/0.2282, allocations: 11.94 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004383/0.2287, allocations: 63.55 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007514/0.2295, allocations: 147.5 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.2309, allocations: 306 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009329/0.2319, allocations: 328 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.2323, allocations: 136.2 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004251/0.2327, allocations: 159.2 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.233, allocations: 139.2 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.208e-05/0.2331, allocations: 12 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.2333, allocations: 51.91 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.2335, allocations: 67.67 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.2336, allocations: 97.45 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006464/0.2343, allocations: 451.1 kB / 0.9839 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2343, allocations: 0 / 0.9839 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2343, allocations: 0 / 0.9839 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.2343, allocations: 4 kB / 0.9839 GB, free: 22.58 MB / 0.6198 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.001671/0.236, allocations: 0.7278 MB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.2361, allocations: 12.02 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.2362, allocations: 70.48 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.2364, allocations: 51.34 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/0.2374, allocations: 421.5 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/0.2374, allocations: 20.56 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.2375, allocations: 24 kB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008832/0.2384, allocations: 327.9 kB / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.2385, allocations: 0 / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/0.2385, allocations: 15.98 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.2386, allocations: 15.94 kB / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007963/0.2394, allocations: 218.1 kB / 0.9857 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.2414, allocations: 1.104 MB / 0.9868 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009932/0.2425, allocations: 239.5 kB / 0.987 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.131e-05/0.2426, allocations: 4.188 kB / 0.987 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005326/0.2431, allocations: 155.5 kB / 0.9872 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 4.448e-06/0.2431, allocations: 0 / 0.9872 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001359/0.2445, allocations: 369.3 kB / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.2446, allocations: 110.7 kB / 0.9876 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006757/0.2453, allocations: 445.9 kB / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.2454, allocations: 33.7 kB / 0.9881 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.2456, allocations: 228.5 kB / 0.9883 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.863e-05/0.2458, allocations: 70.98 kB / 0.9884 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.2458, allocations: 8 kB / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2459, allocations: 350.8 kB / 0.9887 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.2464, allocations: 91.95 kB / 0.9888 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.2468, allocations: 164.2 kB / 0.9889 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.2473, allocations: 99.97 kB / 0.989 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2473, allocations: 0 / 0.989 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001005/0.2483, allocations: 304.8 kB / 0.9893 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.2484, allocations: 4 kB / 0.9893 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2484, allocations: 7.984 kB / 0.9893 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.2484, allocations: 160 / 0.9893 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.2489, allocations: 59.91 kB / 0.9894 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.2489, allocations: 7.953 kB / 0.9894 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.2493, allocations: 35.67 kB / 0.9894 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.2493, allocations: 8 kB / 0.9894 GB, free: 16.55 MB / 0.6198 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.0003032/0.2496, allocations: 177.8 kB / 0.9896 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.957e-05/0.2498, allocations: 39.53 kB / 0.9897 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.2499, allocations: 47.84 kB / 0.9897 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2499, allocations: 7.984 kB / 0.9897 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2499, allocations: 0 / 0.9897 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2499, allocations: 3.953 kB / 0.9897 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.2504, allocations: 409.2 kB / 0.9901 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.2505, allocations: 0 / 0.9901 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.2509, allocations: 43.91 kB / 0.9901 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.2509, allocations: 4 kB / 0.9901 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.2509, allocations: 11.88 kB / 0.9902 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.251, allocations: 4 kB / 0.9902 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.251, allocations: 0 / 0.9902 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.2524, allocations: 436.6 kB / 0.9906 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.2527, allocations: 144.6 kB / 0.9907 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.838e-05/0.2528, allocations: 8 kB / 0.9907 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.2531, allocations: 15.98 kB / 0.9907 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2532, allocations: 15.97 kB / 0.9908 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.2533, allocations: 8 kB / 0.9908 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005014/0.2538, allocations: 319.1 kB / 0.9911 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2538, allocations: 4.062 kB / 0.9911 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005424/0.2544, allocations: 71.84 kB / 0.9911 GB, free: 14.72 MB / 0.6198 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.002785/0.2572, allocations: 1.293 MB / 0.9924 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009566/0.2582, allocations: 228 kB / 0.9926 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2582, allocations: 4 kB / 0.9926 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.2587, allocations: 115.7 kB / 0.9927 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.2595, allocations: 96.16 kB / 0.9928 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/0.2652, allocations: 2.998 MB / 0.9958 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.2656, allocations: 0.8229 MB / 0.9966 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003722/0.2659, allocations: 55.23 kB / 0.9966 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.2663, allocations: 143.4 kB / 0.9967 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.2663, allocations: 4 kB / 0.9967 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04602/0.3123, allocations: 8.325 MB / 1.005 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/0.3126, allocations: 261.2 kB / 1.005 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/3.195, allocations: 0 / 1.005 GB, free: 0.582 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)