Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.001971/0.001971, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001956/0.001956, allocations: 210.3 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.493/1.493, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 3.057/3.057, allocations: 0.5003 GB / 0.8026 GB, free: 6.863 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Reheat,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 71.89 kB / 1.165 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.07, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003601/1.073, allocations: 2.08 MB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001432/1.075, allocations: 0.7954 MB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/1.075, allocations: 8.125 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000166/1.075, allocations: 35.66 kB / 1.343 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/1.075, allocations: 40.69 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005929/1.076, allocations: 174.6 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004804/1.076, allocations: 400.8 kB / 1.344 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/1.077, allocations: 214.3 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/1.077, allocations: 144.9 kB / 1.344 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/1.077, allocations: 147.8 kB / 1.344 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.815e-05/1.077, allocations: 36.97 kB / 1.344 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/1.077, allocations: 51.2 kB / 1.344 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.706e-05/1.077, allocations: 86.52 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/1.078, allocations: 153.6 kB / 1.344 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006093/1.078, allocations: 434.3 kB / 1.345 GB, free: 13.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.078, allocations: 0 / 1.345 GB, free: 13.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.048e-06/1.078, allocations: 1.984 kB / 1.345 GB, free: 13.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.078, allocations: 0 / 1.345 GB, free: 13.3 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009505/1.079, allocations: 0.5826 MB / 1.345 GB, free: 12.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.079, allocations: 9.625 kB / 1.345 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.761e-05/1.079, allocations: 11.62 kB / 1.345 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.665e-05/1.079, allocations: 62.31 kB / 1.345 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004444/1.08, allocations: 61.09 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/1.08, allocations: 288.4 kB / 1.346 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/1.08, allocations: 30.62 kB / 1.346 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/1.08, allocations: 29.7 kB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/1.081, allocations: 314.5 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/1.081, allocations: 0.6094 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/1.081, allocations: 10.75 kB / 1.346 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.081, allocations: 7.484 kB / 1.346 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/1.081, allocations: 236.6 kB / 1.346 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/1.083, allocations: 0.9233 MB / 1.347 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/1.083, allocations: 233.3 kB / 1.347 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/1.083, allocations: 104.5 kB / 1.348 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/1.083, allocations: 2.672 kB / 1.348 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003027/1.084, allocations: 153.2 kB / 1.348 GB, free: 11.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.794e-06/1.084, allocations: 0 / 1.348 GB, free: 11.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.0007517/1.084, allocations: 333.2 kB / 1.348 GB, free: 11.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/1.085, allocations: 56.17 kB / 1.348 GB, free: 11.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/1.085, allocations: 214.5 kB / 1.348 GB, free: 10.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/1.085, allocations: 39.45 kB / 1.348 GB, free: 10.94 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/1.085, allocations: 158.8 kB / 1.348 GB, free: 10.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/1.085, allocations: 83.73 kB / 1.349 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/1.085, allocations: 77.8 kB / 1.349 GB, free: 10.69 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.626e-05/1.085, allocations: 337.1 kB / 1.349 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/1.085, allocations: 96.78 kB / 1.349 GB, free: 10.33 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/1.086, allocations: 156.3 kB / 1.349 GB, free: 10.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/1.086, allocations: 212.8 kB / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/1.086, allocations: 2.188 kB / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005626/1.086, allocations: 310 kB / 1.35 GB, free: 9.973 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.086, allocations: 6.203 kB / 1.35 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.087, allocations: 1.594 kB / 1.35 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.087, allocations: 3.406 kB / 1.35 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/1.087, allocations: 36.48 kB / 1.35 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/1.087, allocations: 4.469 kB / 1.35 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/1.087, allocations: 48.67 kB / 1.35 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/1.087, allocations: 9.078 kB / 1.35 GB, free: 9.945 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001556/1.087, allocations: 176.5 kB / 1.35 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/1.087, allocations: 23 kB / 1.35 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.368e-05/1.087, allocations: 28.56 kB / 1.35 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.087, allocations: 4.391 kB / 1.35 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.087, allocations: 0 / 1.35 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.087, allocations: 1.875 kB / 1.35 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009675/1.088, allocations: 0.7157 MB / 1.351 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.088, allocations: 1.734 kB / 1.351 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/1.088, allocations: 32.55 kB / 1.351 GB, free: 9.273 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.088, allocations: 5.094 kB / 1.351 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/1.088, allocations: 7.812 kB / 1.351 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/1.088, allocations: 1.188 kB / 1.351 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.088, allocations: 3.938 kB / 1.351 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/1.089, allocations: 342.6 kB / 1.351 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/1.089, allocations: 108.5 kB / 1.351 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/1.089, allocations: 7.297 kB / 1.351 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/1.089, allocations: 25.08 kB / 1.351 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/1.089, allocations: 39.44 kB / 1.351 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/1.089, allocations: 5.922 kB / 1.351 GB, free: 8.918 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000113/1.089, allocations: 142 kB / 1.351 GB, free: 8.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.089, allocations: 0 / 1.351 GB, free: 8.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003343/1.09, allocations: 64.34 kB / 1.351 GB, free: 8.801 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007005/1.09, allocations: 0.8928 MB / 1.352 GB, free: 8.051 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005328/1.091, allocations: 233.1 kB / 1.353 GB, free: 7.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.091, allocations: 0 / 1.353 GB, free: 7.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/1.091, allocations: 116.2 kB / 1.353 GB, free: 7.941 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/1.092, allocations: 48.91 kB / 1.353 GB, free: 7.914 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/1.095, allocations: 2.538 MB / 1.355 GB, free: 6.137 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/1.095, allocations: 0.7582 MB / 1.356 GB, free: 5.434 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001418/1.095, allocations: 27.5 kB / 1.356 GB, free: 5.426 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/1.096, allocations: 87.28 kB / 1.356 GB, free: 5.363 MB / 1.061 GB Notification: Performance of SimCode: time 7.01e-07/1.096, allocations: 0 / 1.356 GB, free: 5.363 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/1.123, allocations: 5.484 MB / 1.361 GB, free: 4.664 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.728/9.851, allocations: 7.109 kB / 1.361 GB, free: 4.664 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.491479654039722] Failed to read output from testmodel.py, exit status != 0: 9.979539135994855 10.00033436 8.917770021 Calling exit ...