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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8876/0.8876, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.819/1.819, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.455e-06/2.455e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.679e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004666/0.004692, allocations: 2.78 MB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003196/0.007889, allocations: 1.62 MB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005641/0.008453, allocations: 15.88 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004619/0.008915, allocations: 111.1 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005302/0.009445, allocations: 198.7 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008621/0.01031, allocations: 397 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006048/0.01091, allocations: 0.5615 MB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.01119, allocations: 138.3 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.01162, allocations: 307.1 kB / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.01186, allocations: 151.5 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.01191, allocations: 40 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.01212, allocations: 115.8 kB / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.01224, allocations: 111.6 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.01235, allocations: 127.5 kB / 1.006 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.013, allocations: 0.6268 MB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.01301, allocations: 8 kB / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.585e-06/0.01301, allocations: 0 / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.01302, allocations: 0 / 1.007 GB, free: 6.18 MB / 0.9636 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.001082/0.0141, allocations: 0.732 MB / 1.007 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.01415, allocations: 8.75 kB / 1.007 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.501e-05/0.0142, allocations: 62.72 kB / 1.008 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.0144, allocations: 80.55 kB / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/0.01505, allocations: 390.9 kB / 1.008 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.01507, allocations: 25.03 kB / 1.008 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.01511, allocations: 24.38 kB / 1.008 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.01556, allocations: 383.7 kB / 1.008 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.01557, allocations: 0 / 1.008 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.01559, allocations: 8 kB / 1.008 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.0156, allocations: 8 kB / 1.008 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.01592, allocations: 213.8 kB / 1.009 GB, free: 4.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.01711, allocations: 0.9876 MB / 1.01 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.01756, allocations: 234.8 kB / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.01769, allocations: 100.8 kB / 1.01 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.01772, allocations: 8 kB / 1.01 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.01796, allocations: 152.7 kB / 1.01 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=23): time 2.194e-06/0.01797, allocations: 0 / 1.01 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23): time 0.0005394/0.01851, allocations: 366.8 kB / 1.01 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.01856, allocations: 85.05 kB / 1.01 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.01893, allocations: 465.9 kB / 1.011 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.01895, allocations: 29.7 kB / 1.011 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.01908, allocations: 232.7 kB / 1.011 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.01913, allocations: 83.36 kB / 1.011 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.01919, allocations: 49.7 kB / 1.011 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.0193, allocations: 358.8 kB / 1.012 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.01943, allocations: 83.95 kB / 1.012 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.0196, allocations: 206.2 kB / 1.012 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.01987, allocations: 223.3 kB / 1.012 GB, free: 368 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01988, allocations: 3.938 kB / 1.012 GB, free: 364 kB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004227/0.0203, allocations: 306.7 kB / 1.012 GB, free: 52 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.02032, allocations: 9.656 kB / 1.012 GB, free: 44 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.02033, allocations: 4 kB / 1.012 GB, free: 40 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.02035, allocations: 4.156 kB / 1.012 GB, free: 36 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.02056, allocations: 48.03 kB / 1.012 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.02057, allocations: 3.938 kB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.02072, allocations: 35.7 kB / 1.013 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.02074, allocations: 15.98 kB / 1.013 GB, free: 15.93 MB / 0.9792 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.00021/0.02095, allocations: 179.2 kB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.02102, allocations: 47.72 kB / 1.013 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/0.0216, allocations: 304.5 kB / 1.013 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.02161, allocations: 4 kB / 1.013 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.02162, allocations: 0 / 1.013 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.02162, allocations: 0 / 1.013 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.02201, allocations: 352.4 kB / 1.013 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.02202, allocations: 0 / 1.013 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.0222, allocations: 39.91 kB / 1.013 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.02221, allocations: 0 / 1.013 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.02223, allocations: 15.94 kB / 1.013 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.02224, allocations: 0 / 1.013 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.02224, allocations: 0 / 1.013 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.02309, allocations: 432.5 kB / 1.014 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.02325, allocations: 67.66 kB / 1.014 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.11e-05/0.02331, allocations: 11.94 kB / 1.014 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.02344, allocations: 15.97 kB / 1.014 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/0.02354, allocations: 20.03 kB / 1.014 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.02357, allocations: 15.98 kB / 1.014 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004799/0.02405, allocations: 331.1 kB / 1.014 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02405, allocations: 4 kB / 1.014 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004618/0.02451, allocations: 75.83 kB / 1.014 GB, free: 13.99 MB / 0.9792 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 (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.002439/0.02695, allocations: 1.318 MB / 1.016 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005524/0.0275, allocations: 211.7 kB / 1.016 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02751, allocations: 0 / 1.016 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.02774, allocations: 115.8 kB / 1.016 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.02828, allocations: 101.4 kB / 1.016 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/0.03333, allocations: 3.504 MB / 1.02 GB, free: 8.789 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.03348, allocations: 211.4 kB / 1.02 GB, free: 8.559 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.03367, allocations: 59.17 kB / 1.02 GB, free: 8.504 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.03384, allocations: 152.4 kB / 1.02 GB, free: 8.355 MB / 0.9792 GB Notification: Performance of SimCode: time 1.764e-06/0.03384, allocations: 0 / 1.02 GB, free: 8.355 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.06123, allocations: 10.22 MB / 1.03 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.602, allocations: 8 kB / 1.03 GB, free: 14.33 MB / 0.9948 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.csv --start-time 0 --stop-time 1080 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.432 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: 11.886116908863187] Failed to read output from testmodel.py, exit status != 0: 7.7060467302799225 7.714351624 7.699507597 Calling exit ...