Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 104 kB / 16.4 MB, free: 6.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.702/2.702, allocations: 489 MB / 0.7678 GB, free: 8 kB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 71.88 kB / 1.101 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.8098, allocations: 163.8 MB / 1.261 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004462/0.8143, allocations: 2.937 MB / 1.264 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.8167, allocations: 1.516 MB / 1.265 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.817, allocations: 11.94 kB / 1.265 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.8174, allocations: 103.2 kB / 1.265 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.8177, allocations: 143 kB / 1.266 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008788/0.8186, allocations: 415.8 kB / 1.266 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005397/0.8192, allocations: 0.5305 MB / 1.267 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.8195, allocations: 209.1 kB / 1.267 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.8197, allocations: 199.1 kB / 1.267 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.82, allocations: 199 kB / 1.267 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.494e-05/0.82, allocations: 44 kB / 1.267 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.8202, allocations: 99.95 kB / 1.267 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.8204, allocations: 103.6 kB / 1.267 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.8206, allocations: 222.7 kB / 1.268 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000702/0.8213, allocations: 0.6031 MB / 1.268 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8213, allocations: 0 / 1.268 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.22e-07/0.8213, allocations: 0 / 1.268 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.8213, allocations: 0 / 1.268 GB, free: 15.81 MB / 0.9825 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.001228/0.8226, allocations: 0.8072 MB / 1.269 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.8226, allocations: 12.03 kB / 1.269 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.963e-05/0.8227, allocations: 62.72 kB / 1.269 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.81e-05/0.8228, allocations: 52.61 kB / 1.269 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/0.8235, allocations: 446.8 kB / 1.269 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.8235, allocations: 24.69 kB / 1.27 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.8236, allocations: 35.95 kB / 1.27 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.8242, allocations: 319.9 kB / 1.27 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.8242, allocations: 0 / 1.27 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.8243, allocations: 12 kB / 1.27 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.8243, allocations: 15.98 kB / 1.27 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.8248, allocations: 210.1 kB / 1.27 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.8262, allocations: 1.093 MB / 1.271 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/0.8268, allocations: 234.9 kB / 1.271 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.8271, allocations: 124.7 kB / 1.271 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.8271, allocations: 7.984 kB / 1.271 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003424/0.8275, allocations: 157.6 kB / 1.272 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/0.8275, allocations: 0 / 1.272 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0008346/0.8283, allocations: 359.9 kB / 1.272 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.8284, allocations: 106.8 kB / 1.272 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.8289, allocations: 449.8 kB / 1.273 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.829, allocations: 33.7 kB / 1.273 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.8292, allocations: 228.7 kB / 1.273 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/0.8292, allocations: 71.38 kB / 1.273 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.306e-05/0.8293, allocations: 53.7 kB / 1.273 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.8295, allocations: 362.7 kB / 1.273 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.8297, allocations: 83.95 kB / 1.273 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.83, allocations: 155.7 kB / 1.273 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.8305, allocations: 225 kB / 1.274 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8305, allocations: 4 kB / 1.274 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005972/0.8311, allocations: 298.2 kB / 1.274 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.8311, allocations: 4 kB / 1.274 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.8311, allocations: 4 kB / 1.274 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.8311, allocations: 0 / 1.274 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.8314, allocations: 56.05 kB / 1.274 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.8314, allocations: 8 kB / 1.274 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.8316, allocations: 31.77 kB / 1.274 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.8316, allocations: 12 kB / 1.274 GB, free: 9.41 MB / 0.9825 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 ($PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition1,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,cooTowSpeCon.fmcMod.y,cooTowSpeCon.pmcMod.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.8318, allocations: 181.8 kB / 1.274 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.8319, allocations: 47.66 kB / 1.274 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.425e-05/0.832, allocations: 39.84 kB / 1.274 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.832, allocations: 4 kB / 1.274 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.832, allocations: 8 kB / 1.274 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.832, allocations: 3.984 kB / 1.274 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.8324, allocations: 421.2 kB / 1.275 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8325, allocations: 0 / 1.275 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.8327, allocations: 35.97 kB / 1.275 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8327, allocations: 0 / 1.275 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.8327, allocations: 8 kB / 1.275 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.8327, allocations: 3.938 kB / 1.275 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8327, allocations: 0 / 1.275 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008458/0.8336, allocations: 431 kB / 1.275 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.8337, allocations: 140.8 kB / 1.275 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.8338, allocations: 8 kB / 1.275 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.8339, allocations: 11.98 kB / 1.275 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.709e-05/0.834, allocations: 23.97 kB / 1.275 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.834, allocations: 8.062 kB / 1.275 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003425/0.8344, allocations: 319.1 kB / 1.276 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8344, allocations: 0 / 1.276 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003235/0.8347, allocations: 79.78 kB / 1.276 GB, free: 7.582 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002606/0.8373, allocations: 1.298 MB / 1.277 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.8379, allocations: 220.6 kB / 1.277 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.8379, allocations: 4 kB / 1.277 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.8382, allocations: 114 kB / 1.277 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.8387, allocations: 102.2 kB / 1.277 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/0.8435, allocations: 3.424 MB / 1.281 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.844, allocations: 0.8148 MB / 1.282 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001838/0.8442, allocations: 55.27 kB / 1.282 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.8444, allocations: 143.4 kB / 1.282 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.8444, allocations: 3.938 kB / 1.282 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.8768, allocations: 9.001 MB / 1.291 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/9.045, allocations: 27.45 kB / 1.291 GB, free: 8.652 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --stepSize=0.432 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 14.798634764039889] Failed to read output from testmodel.py, exit status != 0: 9.170282369945198 9.193283559 8.368008938000001 Calling exit ...