Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001354/0.001354, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00114/0.00114, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8757/0.8757, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.628/1.628, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.9505 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.737e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003265/0.003282, allocations: 2.785 MB / 0.9532 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.005168, allocations: 1.624 MB / 0.9548 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.00538, allocations: 23.88 kB / 0.9548 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.005727, allocations: 103.1 kB / 0.9549 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.006084, allocations: 190.8 kB / 0.9551 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.00668, allocations: 413.2 kB / 0.9555 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.007094, allocations: 0.5615 MB / 0.956 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.007293, allocations: 125.8 kB / 0.9562 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.0076, allocations: 311.1 kB / 0.9565 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.007764, allocations: 147.5 kB / 0.9566 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.007804, allocations: 44 kB / 0.9566 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.007947, allocations: 111.9 kB / 0.9567 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 9.46e-05/0.008042, allocations: 111.5 kB / 0.9568 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 9.51e-05/0.008137, allocations: 123.6 kB / 0.957 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.008622, allocations: 0.6346 MB / 0.9576 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.008624, allocations: 0 / 0.9576 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.032e-06/0.008625, allocations: 0 / 0.9576 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.008631, allocations: 0 / 0.9576 GB, free: 11.09 MB / 0.8698 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.001074/0.009705, allocations: 0.7435 MB / 0.9583 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.009742, allocations: 12.02 kB / 0.9583 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.009788, allocations: 62.73 kB / 0.9584 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.009943, allocations: 72.58 kB / 0.9585 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.01041, allocations: 394.9 kB / 0.9588 GB, free: 9.738 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.01043, allocations: 21.03 kB / 0.9588 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.01046, allocations: 24.38 kB / 0.9589 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.01084, allocations: 379.7 kB / 0.9592 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.01085, allocations: 3.938 kB / 0.9592 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.01087, allocations: 12 kB / 0.9592 GB, free: 9.273 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.01087, allocations: 8 kB / 0.9593 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.01117, allocations: 217.8 kB / 0.9595 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008649/0.01204, allocations: 0.9837 MB / 0.9604 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.0124, allocations: 223 kB / 0.9606 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.01254, allocations: 110 kB / 0.9607 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.01256, allocations: 8 kB / 0.9607 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.01277, allocations: 155.3 kB / 0.9609 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 1.723e-06/0.01277, allocations: 0 / 0.9609 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.0005054/0.01328, allocations: 359.6 kB / 0.9612 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.01332, allocations: 92.97 kB / 0.9613 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.01366, allocations: 465.9 kB / 0.9618 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.01368, allocations: 33.7 kB / 0.9618 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.0138, allocations: 240.6 kB / 0.962 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.01384, allocations: 71.38 kB / 0.9621 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.0139, allocations: 57.69 kB / 0.9622 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.01401, allocations: 350.8 kB / 0.9625 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.01414, allocations: 87.95 kB / 0.9626 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.0143, allocations: 202.2 kB / 0.9628 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.01456, allocations: 215.3 kB / 0.963 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.01456, allocations: 4 kB / 0.963 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003403/0.0149, allocations: 309 kB / 0.9633 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01492, allocations: 11.94 kB / 0.9633 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01492, allocations: 0 / 0.9633 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01494, allocations: 4 kB / 0.9633 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.01506, allocations: 47.91 kB / 0.9633 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.01507, allocations: 11.92 kB / 0.9633 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-05/0.01516, allocations: 27.83 kB / 0.9634 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.01517, allocations: 11.98 kB / 0.9634 GB, free: 4.844 MB / 0.8698 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.0001266/0.0153, allocations: 181.9 kB / 0.9636 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.01533, allocations: 47.67 kB / 0.9636 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.01571, allocations: 300.8 kB / 0.9639 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.01572, allocations: 4 kB / 0.9639 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01572, allocations: 0 / 0.9639 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01573, allocations: 3.984 kB / 0.9639 GB, free: 4.305 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.01597, allocations: 348.5 kB / 0.9642 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01597, allocations: 4 kB / 0.9642 GB, free: 3.918 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.01608, allocations: 39.91 kB / 0.9643 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.01608, allocations: 4 kB / 0.9643 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.0161, allocations: 11.92 kB / 0.9643 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.0161, allocations: 4 kB / 0.9643 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0161, allocations: 0 / 0.9643 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00074/0.01684, allocations: 428.6 kB / 0.9647 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.564e-05/0.01693, allocations: 67.66 kB / 0.9648 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.01696, allocations: 11.88 kB / 0.9648 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.01702, allocations: 19.98 kB / 0.9648 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.01708, allocations: 23.95 kB / 0.9648 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.0171, allocations: 4 kB / 0.9648 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002261/0.01732, allocations: 331.1 kB / 0.9651 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01732, allocations: 0 / 0.9651 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002162/0.01754, allocations: 79.78 kB / 0.9652 GB, free: 2.898 MB / 0.8698 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.001292/0.01883, allocations: 1.323 MB / 0.9665 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.01915, allocations: 207.7 kB / 0.9667 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01916, allocations: 320 / 0.9667 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.0193, allocations: 118.3 kB / 0.9668 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.01961, allocations: 108.5 kB / 0.9669 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.02268, allocations: 3.497 MB / 0.9703 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.02282, allocations: 219.3 kB / 0.9705 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.02295, allocations: 59.23 kB / 0.9706 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.0231, allocations: 152.4 kB / 0.9707 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of SimCode: time 7.31e-07/0.0231, allocations: 0 / 0.9707 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.04619, allocations: 10.23 MB / 0.9807 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.491, allocations: 3.766 kB / 0.9807 GB, free: 3.242 MB / 0.8855 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.csv --start-time 0 --stop-time 1080 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.432 Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.48577845748514] Failed to read output from testmodel.py, exit status != 0: 7.593237798660994 7.602156389 7.591769623 Calling exit ...