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.405/1.405, allocations: 251.9 MB / 266.9 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.00103/0.00103, allocations: 180.4 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.000835/0.0008352, allocations: 91.81 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003158, allocations: 11.38 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2128, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003146/0.216, allocations: 2.512 MB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.2183, allocations: 1.315 MB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.2186, allocations: 15.94 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.2189, allocations: 67.53 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.2193, allocations: 151.5 kB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/0.2199, allocations: 309.7 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.2203, allocations: 332 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.2205, allocations: 136.4 kB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.2207, allocations: 163.1 kB / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.2208, allocations: 155.1 kB / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.2209, allocations: 8 kB / 0.9052 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.221, allocations: 39.98 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.68e-05/0.221, allocations: 67.67 kB / 0.9053 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.2211, allocations: 97.45 kB / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.2214, allocations: 455.1 kB / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.2215, allocations: 0 / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2215, allocations: 0 / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2215, allocations: 0 / 0.9058 GB, free: 58.02 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.0009795/0.2225, allocations: 0.7336 MB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2225, allocations: 12.03 kB / 0.9065 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.2226, allocations: 62.5 kB / 0.9066 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.2226, allocations: 55.34 kB / 0.9066 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.2231, allocations: 429.4 kB / 0.9071 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.2232, allocations: 20.56 kB / 0.9071 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.2232, allocations: 24 kB / 0.9071 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.2237, allocations: 331.9 kB / 0.9074 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2237, allocations: 3.984 kB / 0.9074 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.2238, allocations: 12 kB / 0.9074 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2238, allocations: 11.95 kB / 0.9074 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.2242, allocations: 218.1 kB / 0.9076 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.2253, allocations: 1.105 MB / 0.9087 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.2258, allocations: 242.3 kB / 0.909 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.2258, allocations: 4.188 kB / 0.909 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003223/0.2262, allocations: 165.5 kB / 0.9091 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 2.044e-06/0.2262, allocations: 3.938 kB / 0.9091 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0007118/0.2269, allocations: 360.4 kB / 0.9095 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.227, allocations: 106.8 kB / 0.9096 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.2273, allocations: 469.7 kB / 0.91 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.2274, allocations: 29.7 kB / 0.91 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.2275, allocations: 236.5 kB / 0.9103 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.2275, allocations: 71 kB / 0.9103 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.2276, allocations: 8 kB / 0.9103 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.975e-05/0.2276, allocations: 358.8 kB / 0.9107 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.2278, allocations: 83.95 kB / 0.9108 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.2281, allocations: 163.6 kB / 0.9109 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.2283, allocations: 103.8 kB / 0.911 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2283, allocations: 0 / 0.911 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004969/0.2288, allocations: 296.9 kB / 0.9113 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2288, allocations: 8.156 kB / 0.9113 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2288, allocations: 0 / 0.9113 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2289, allocations: 4 kB / 0.9113 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.2291, allocations: 55.91 kB / 0.9114 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2291, allocations: 11.94 kB / 0.9114 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.2293, allocations: 27.75 kB / 0.9114 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.2293, allocations: 11.98 kB / 0.9114 GB, free: 51.95 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.0001481/0.2295, allocations: 185.7 kB / 0.9116 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.2295, allocations: 43.44 kB / 0.9116 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.624e-05/0.2296, allocations: 43.92 kB / 0.9117 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2296, allocations: 4 kB / 0.9117 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2296, allocations: 4 kB / 0.9117 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2296, allocations: 7.938 kB / 0.9117 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.2299, allocations: 413.2 kB / 0.9121 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2299, allocations: 0 / 0.9121 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.2302, allocations: 43.91 kB / 0.9121 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2302, allocations: 0 / 0.9121 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.2302, allocations: 8 kB / 0.9121 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2302, allocations: 0 / 0.9121 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2302, allocations: 3.938 kB / 0.9121 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.2309, allocations: 439.2 kB / 0.9126 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.2311, allocations: 152.5 kB / 0.9127 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.2311, allocations: 4 kB / 0.9127 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.2313, allocations: 15.98 kB / 0.9127 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.2313, allocations: 24.03 kB / 0.9127 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.2314, allocations: 4 kB / 0.9128 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002615/0.2316, allocations: 331.1 kB / 0.9131 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2316, allocations: 0 / 0.9131 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002939/0.2319, allocations: 75.84 kB / 0.9131 GB, free: 50.09 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.001622/0.2336, allocations: 1.29 MB / 0.9144 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.2341, allocations: 231.7 kB / 0.9146 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2341, allocations: 0 / 0.9146 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.2343, allocations: 118.2 kB / 0.9147 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.2348, allocations: 101.8 kB / 0.9148 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.2379, allocations: 3.06 MB / 0.9178 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.2381, allocations: 0.8268 MB / 0.9186 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001923/0.2383, allocations: 55.23 kB / 0.9187 GB, free: 44.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.2385, allocations: 147.4 kB / 0.9188 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2385, allocations: 0 / 0.9188 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.2562, allocations: 8.64 MB / 0.9273 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/0.2564, allocations: 278.4 kB / 0.9275 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.276, allocations: 0 / 0.9275 GB, free: 35.54 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)