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.76/2.76, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001485/0.001485, allocations: 177.1 kB / 370.8 MB, free: 10.85 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.081/2.081, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001088/0.001088, allocations: 95.44 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004711, allocations: 14.62 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2218, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9753/1.197, allocations: 148.2 MB / 1.123 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/1.198, allocations: 95.81 kB / 1.123 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04389/1.242, allocations: 10.46 MB / 1.133 GB, free: 29.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.146e-06/1.242, allocations: 0 / 1.133 GB, free: 29.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.524e-05/1.242, allocations: 7.812 kB / 1.133 GB, free: 29.57 MB / 0.698 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.001934/1.244, allocations: 0.7661 MB / 1.134 GB, free: 28.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/1.244, allocations: 11.64 kB / 1.134 GB, free: 28.92 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/1.244, allocations: 64.41 kB / 1.134 GB, free: 28.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/1.244, allocations: 57.52 kB / 1.134 GB, free: 28.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/1.245, allocations: 422.4 kB / 1.135 GB, free: 28.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/1.245, allocations: 25.91 kB / 1.135 GB, free: 28.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.18e-05/1.245, allocations: 25.81 kB / 1.135 GB, free: 28.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/1.246, allocations: 360.4 kB / 1.135 GB, free: 28.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/1.246, allocations: 0 / 1.135 GB, free: 28.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/1.246, allocations: 14.03 kB / 1.135 GB, free: 28.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.246, allocations: 15.64 kB / 1.135 GB, free: 28.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009034/1.247, allocations: 256.2 kB / 1.135 GB, free: 28.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/1.25, allocations: 1.167 MB / 1.136 GB, free: 27.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/1.251, allocations: 299.2 kB / 1.137 GB, free: 27.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/1.251, allocations: 192 / 1.137 GB, free: 27.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005677/1.252, allocations: 182.1 kB / 1.137 GB, free: 27.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.334e-06/1.252, allocations: 0 / 1.137 GB, free: 27.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001582/1.253, allocations: 413.3 kB / 1.137 GB, free: 27.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.253, allocations: 169.5 kB / 1.137 GB, free: 27.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007602/1.254, allocations: 404.8 kB / 1.138 GB, free: 26.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.149e-05/1.254, allocations: 33.3 kB / 1.138 GB, free: 26.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/1.254, allocations: 224.2 kB / 1.138 GB, free: 26.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/1.255, allocations: 72.17 kB / 1.138 GB, free: 26.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/1.255, allocations: 3.375 kB / 1.138 GB, free: 26.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001854/1.255, allocations: 358.3 kB / 1.138 GB, free: 26.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/1.255, allocations: 103 kB / 1.139 GB, free: 26.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/1.256, allocations: 200.6 kB / 1.139 GB, free: 26.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/1.256, allocations: 116.2 kB / 1.139 GB, free: 26.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/1.256, allocations: 3.875 kB / 1.139 GB, free: 26.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001187/1.257, allocations: 328.2 kB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.257, allocations: 7.656 kB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.257, allocations: 0 / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.258, allocations: 3.969 kB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/1.258, allocations: 53.98 kB / 1.139 GB, free: 26.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/1.258, allocations: 3.938 kB / 1.139 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/1.258, allocations: 54.56 kB / 1.139 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/1.259, allocations: 7.719 kB / 1.139 GB, free: 26.14 MB / 0.698 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 () * Number of clocked 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.0003819/1.259, allocations: 180.4 kB / 1.139 GB, free: 26.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/1.259, allocations: 38.78 kB / 1.14 GB, free: 25.99 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/1.26, allocations: 338.6 kB / 1.14 GB, free: 25.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/1.26, allocations: 0 / 1.14 GB, free: 25.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.26, allocations: 3.812 kB / 1.14 GB, free: 25.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.26, allocations: 4 kB / 1.14 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006407/1.261, allocations: 444.1 kB / 1.14 GB, free: 25.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.261, allocations: 0 / 1.14 GB, free: 25.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/1.261, allocations: 45.94 kB / 1.14 GB, free: 25.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.261, allocations: 3.781 kB / 1.14 GB, free: 25.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/1.261, allocations: 7.422 kB / 1.14 GB, free: 25.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/1.261, allocations: 0 / 1.14 GB, free: 25.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.261, allocations: 3.75 kB / 1.14 GB, free: 25.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/1.263, allocations: 0.4915 MB / 1.141 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/1.263, allocations: 153.3 kB / 1.141 GB, free: 25.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/1.263, allocations: 10.36 kB / 1.141 GB, free: 25.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/1.264, allocations: 26.64 kB / 1.141 GB, free: 25.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/1.264, allocations: 22.91 kB / 1.141 GB, free: 25.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/1.264, allocations: 7.656 kB / 1.141 GB, free: 25.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005643/1.264, allocations: 325.7 kB / 1.141 GB, free: 25.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.265, allocations: 0 / 1.141 GB, free: 25.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000623/1.265, allocations: 100.8 kB / 1.141 GB, free: 25.14 MB / 0.698 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) * Number of clocked states: 0 () * 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.003154/1.268, allocations: 1.365 MB / 1.143 GB, free: 24.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001258/1.27, allocations: 263 kB / 1.143 GB, free: 24.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.27, allocations: 0 / 1.143 GB, free: 24.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000491/1.27, allocations: 138.3 kB / 1.143 GB, free: 24.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008456/1.271, allocations: 109.2 kB / 1.143 GB, free: 24.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/1.277, allocations: 2.977 MB / 1.146 GB, free: 22.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/1.278, allocations: 0.822 MB / 1.147 GB, free: 21.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004144/1.278, allocations: 57.14 kB / 1.147 GB, free: 21.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/1.278, allocations: 143.8 kB / 1.147 GB, free: 21.75 MB / 0.698 GB Notification: Performance of SimCode: time 1.423e-06/1.278, allocations: 0 / 1.147 GB, free: 21.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/1.313, allocations: 8.872 MB / 1.156 GB, free: 17.62 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003792/1.313, allocations: 266.3 kB / 1.156 GB, free: 17.26 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/4.209, allocations: 0 / 1.156 GB, free: 17.26 MB / 0.698 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)