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.001285/0.001285, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001521/0.001521, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.217/3.217, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 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.002003/0.002003, allocations: 64.55 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3669, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003948/0.3708, allocations: 2.079 MB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.3726, allocations: 0.8026 MB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.3729, allocations: 7.938 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.3731, allocations: 35.59 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.3732, allocations: 47.53 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.3739, allocations: 179.7 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005682/0.3744, allocations: 411.1 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003936/0.3748, allocations: 208.4 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.3751, allocations: 147.5 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.3753, allocations: 147.4 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/0.3754, allocations: 40 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3755, allocations: 55.98 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.835e-05/0.3756, allocations: 79.77 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.3758, allocations: 155.2 kB / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.3764, allocations: 430.3 kB / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3764, allocations: 0 / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3764, allocations: 0 / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.3764, allocations: 0 / 1.35 GB, free: 11.67 MB / 1.045 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.001055/0.3774, allocations: 0.5137 MB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.3775, allocations: 8.031 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.8e-05/0.3775, allocations: 8.844 kB / 1.351 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.353e-05/0.3776, allocations: 62.72 kB / 1.351 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004752/0.3781, allocations: 64.64 kB / 1.351 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.3785, allocations: 226 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.3785, allocations: 29.03 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.3786, allocations: 28.38 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006104/0.3792, allocations: 317 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3792, allocations: 0 / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.3792, allocations: 11.98 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3793, allocations: 8 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.3798, allocations: 230.5 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.3814, allocations: 0.8905 MB / 1.352 GB, free: 9.168 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.3819, allocations: 227.4 kB / 1.353 GB, free: 8.938 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3822, allocations: 105.3 kB / 1.353 GB, free: 8.832 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3822, allocations: 8.219 kB / 1.353 GB, free: 8.824 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003358/0.3825, allocations: 151.6 kB / 1.353 GB, free: 8.664 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.3825, allocations: 0 / 1.353 GB, free: 8.664 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.0007483/0.3833, allocations: 330.1 kB / 1.353 GB, free: 8.336 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.3833, allocations: 59.41 kB / 1.353 GB, free: 8.266 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.3835, allocations: 210.5 kB / 1.353 GB, free: 8.047 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.3836, allocations: 41.69 kB / 1.353 GB, free: 8 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.3837, allocations: 160.7 kB / 1.354 GB, free: 7.836 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.21e-05/0.3838, allocations: 87.38 kB / 1.354 GB, free: 7.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.3839, allocations: 81.67 kB / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3841, allocations: 330.8 kB / 1.354 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.3843, allocations: 87.97 kB / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.3846, allocations: 153.7 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.385, allocations: 225.9 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.385, allocations: 0 / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005963/0.3856, allocations: 308.8 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3856, allocations: 7.938 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3856, allocations: 0 / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.3856, allocations: 4 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.3858, allocations: 39.91 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3858, allocations: 0 / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.3861, allocations: 51.97 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.3861, allocations: 8 kB / 1.355 GB, free: 6.422 MB / 1.045 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.0002057/0.3863, allocations: 185.6 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.3864, allocations: 23.86 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.43e-05/0.3864, allocations: 30.64 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3864, allocations: 0 / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.3864, allocations: 4 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3865, allocations: 4 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.3876, allocations: 0.6813 MB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3876, allocations: 0 / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.3877, allocations: 31.97 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3877, allocations: 4 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.3878, allocations: 4 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3878, allocations: 4 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3878, allocations: 7.938 kB / 1.356 GB, free: 5.391 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005955/0.3884, allocations: 344.1 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.3884, allocations: 23.8 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.3885, allocations: 8 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.3887, allocations: 27.95 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3888, allocations: 39.89 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.3888, allocations: 7.984 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001344/0.3889, allocations: 139.3 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3889, allocations: 0 / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003731/0.3893, allocations: 67.83 kB / 1.356 GB, free: 4.73 MB / 1.045 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.0009213/0.3902, allocations: 0.8902 MB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005452/0.3908, allocations: 231.8 kB / 1.358 GB, free: 3.586 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3908, allocations: 3.938 kB / 1.358 GB, free: 3.582 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.391, allocations: 111.8 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3914, allocations: 42.27 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.395, allocations: 2.539 MB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.3954, allocations: 0.7634 MB / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.3956, allocations: 30.41 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.3957, allocations: 91.34 kB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.3957, allocations: 3.938 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.4243, allocations: 5.714 MB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 12 kB / 1.367 GB, free: 10.31 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.776845879969187] Failed to read output from testmodel.py, exit status != 0: 12.090466165042017 12.114249309 11.733459844 Calling exit ...