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.659/2.659, allocations: 287.5 MB / 302.4 MB, free: 8.207 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.001437/0.001437, allocations: 178.1 kB / 371 MB, free: 10.83 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.142/2.142, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001017/0.001018, allocations: 91.58 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.000507, allocations: 15.31 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2444, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005696/0.2502, allocations: 2.488 MB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003278/0.2535, allocations: 1.33 MB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/0.2541, allocations: 11.94 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004682/0.2546, allocations: 79.47 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.2551, allocations: 111.4 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.2565, allocations: 306.2 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008404/0.2573, allocations: 471.2 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003939/0.2578, allocations: 140.2 kB / 0.9833 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003911/0.2582, allocations: 147.2 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.2584, allocations: 151.1 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.2585, allocations: 8 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.2588, allocations: 55.97 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2589, allocations: 67.62 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.259, allocations: 93.45 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.2596, allocations: 451.1 kB / 0.9842 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2596, allocations: 0 / 0.9842 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2597, allocations: 4 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.2597, allocations: 0 / 0.9842 GB, free: 22.34 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.001515/0.2612, allocations: 0.7258 MB / 0.9849 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.2613, allocations: 12.02 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.2614, allocations: 66.5 kB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.2615, allocations: 59.34 kB / 0.985 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008433/0.2624, allocations: 409.6 kB / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.2625, allocations: 20.56 kB / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.2625, allocations: 27.98 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008466/0.2634, allocations: 335.9 kB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.2634, allocations: 0 / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.2635, allocations: 12 kB / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2635, allocations: 7.953 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007893/0.2643, allocations: 222.1 kB / 0.986 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.2663, allocations: 1.104 MB / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.2673, allocations: 239.5 kB / 0.9873 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.2677, allocations: 117.2 kB / 0.9874 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.2678, allocations: 8.188 kB / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000516/0.2683, allocations: 155.4 kB / 0.9876 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 3.627e-06/0.2683, allocations: 0 / 0.9876 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001331/0.2697, allocations: 365.3 kB / 0.9879 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.2698, allocations: 114.8 kB / 0.988 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006804/0.2705, allocations: 445.9 kB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.2705, allocations: 29.7 kB / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.2707, allocations: 228.5 kB / 0.9887 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.319e-05/0.2708, allocations: 78.98 kB / 0.9888 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.2709, allocations: 4 kB / 0.9888 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.271, allocations: 350.7 kB / 0.9891 GB, free: 17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.2714, allocations: 91.95 kB / 0.9892 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.2718, allocations: 160.2 kB / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.2722, allocations: 108 kB / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2722, allocations: 0 / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009856/0.2732, allocations: 304.8 kB / 0.9898 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.2733, allocations: 8 kB / 0.9898 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.2733, allocations: 0 / 0.9898 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.2733, allocations: 4 kB / 0.9898 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.2738, allocations: 59.84 kB / 0.9898 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.2738, allocations: 4 kB / 0.9898 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.2742, allocations: 35.67 kB / 0.9899 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.2743, allocations: 16.12 kB / 0.9899 GB, free: 16.19 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.000302/0.2746, allocations: 177.8 kB / 0.9901 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.2747, allocations: 39.53 kB / 0.9901 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.2748, allocations: 39.84 kB / 0.9901 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2748, allocations: 4 kB / 0.9901 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.2749, allocations: 3.953 kB / 0.9901 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2749, allocations: 3.984 kB / 0.9901 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.2754, allocations: 413.2 kB / 0.9905 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2754, allocations: 8 kB / 0.9905 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.2758, allocations: 39.91 kB / 0.9906 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.2758, allocations: 0 / 0.9906 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.2759, allocations: 8 kB / 0.9906 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.2759, allocations: 0 / 0.9906 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2759, allocations: 0 / 0.9906 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.2773, allocations: 436.6 kB / 0.991 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.2776, allocations: 140.6 kB / 0.9911 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.102e-05/0.2777, allocations: 7.984 kB / 0.9911 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.278, allocations: 16.05 kB / 0.9912 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.2781, allocations: 19.98 kB / 0.9912 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.2781, allocations: 7.984 kB / 0.9912 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004956/0.2786, allocations: 319.1 kB / 0.9915 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2787, allocations: 0 / 0.9915 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005319/0.2792, allocations: 79.8 kB / 0.9916 GB, free: 14.37 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.002839/0.282, allocations: 1.297 MB / 0.9928 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009708/0.2831, allocations: 219.8 kB / 0.993 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.2831, allocations: 0 / 0.993 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.2835, allocations: 128 kB / 0.9932 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008861/0.2845, allocations: 99.97 kB / 0.9933 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.2902, allocations: 2.286 MB / 0.9955 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.2906, allocations: 0.8112 MB / 0.9963 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003635/0.2909, allocations: 59.23 kB / 0.9963 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.2912, allocations: 139.4 kB / 0.9965 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.2913, allocations: 4 kB / 0.9965 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.3278, allocations: 8.339 MB / 1.005 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003143/0.3281, allocations: 273.8 kB / 1.005 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/3.362, allocations: 0 / 1.005 GB, free: 0.9375 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)