Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001329/0.001329, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001464/0.001464, allocations: 215.1 kB / 23.04 MB, free: 5.074 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.226/3.226, allocations: 0.49 GB / 0.7959 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Reheat,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_12_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.002027/0.002027, allocations: 73.02 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3424, allocations: 176.1 MB / 1.327 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003419/0.3458, allocations: 2.078 MB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3473, allocations: 0.8065 MB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.3475, allocations: 7.938 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.3476, allocations: 35.61 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.3477, allocations: 43.53 kB / 1.33 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.3483, allocations: 183.7 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004673/0.3487, allocations: 407.1 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.3491, allocations: 204.7 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.3493, allocations: 147.5 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.3495, allocations: 143.4 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.3496, allocations: 36 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.3497, allocations: 59.97 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.792e-05/0.3498, allocations: 83.7 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.35, allocations: 159.2 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.3505, allocations: 430.3 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3505, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3505, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.3505, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 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.0009639/0.3515, allocations: 0.5167 MB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3515, allocations: 8.031 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.516e-05/0.3516, allocations: 8.844 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.599e-05/0.3516, allocations: 62.73 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/0.3521, allocations: 64.64 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.3525, allocations: 226 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.3525, allocations: 21.03 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.3525, allocations: 32.38 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.3531, allocations: 324.9 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3531, allocations: 0 / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.3532, allocations: 8 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3532, allocations: 8 kB / 1.333 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004964/0.3537, allocations: 230.5 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.3552, allocations: 0.8866 MB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.3557, allocations: 227.5 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.3559, allocations: 105.3 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.356, allocations: 8.234 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/0.3563, allocations: 155.5 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.162e-05/0.3563, allocations: 7.984 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007326/0.357, allocations: 322 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.3571, allocations: 63.34 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.3573, allocations: 211.1 kB / 1.335 GB, free: 9.484 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.3573, allocations: 37.7 kB / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.3575, allocations: 160.8 kB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.486e-05/0.3575, allocations: 83.33 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.3577, allocations: 81.69 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3578, allocations: 334.8 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.358, allocations: 95.89 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.3583, allocations: 153.7 kB / 1.336 GB, free: 8.512 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.3587, allocations: 222 kB / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3587, allocations: 0 / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005616/0.3593, allocations: 304.9 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3593, allocations: 4 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3593, allocations: 0 / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3593, allocations: 4 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.3595, allocations: 43.91 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3595, allocations: 0 / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.3597, allocations: 43.97 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.3597, allocations: 19.98 kB / 1.336 GB, free: 7.859 MB / 1.029 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.0001875/0.3599, allocations: 173.6 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.36, allocations: 23.86 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.677e-05/0.36, allocations: 34.64 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.36, allocations: 0 / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.36, allocations: 0 / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.36, allocations: 4 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.3611, allocations: 0.685 MB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3611, allocations: 0 / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.3613, allocations: 23.98 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.3613, allocations: 4 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.3613, allocations: 4 kB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.3613, allocations: 7.938 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3613, allocations: 7.922 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005247/0.3618, allocations: 341.5 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.3618, allocations: 27.78 kB / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.3619, allocations: 8 kB / 1.338 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3621, allocations: 23.97 kB / 1.338 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3622, allocations: 39.88 kB / 1.338 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3622, allocations: 16 kB / 1.338 GB, free: 6.375 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001154/0.3623, allocations: 143 kB / 1.338 GB, free: 6.234 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3623, allocations: 0 / 1.338 GB, free: 6.234 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003179/0.3626, allocations: 59.89 kB / 1.338 GB, free: 6.176 MB / 1.029 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.000854/0.3635, allocations: 0.9016 MB / 1.339 GB, free: 5.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004941/0.364, allocations: 223.8 kB / 1.339 GB, free: 5.031 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.364, allocations: 3.938 kB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.3642, allocations: 115.8 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.3646, allocations: 44.22 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.3679, allocations: 2.546 MB / 1.342 GB, free: 2.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.3683, allocations: 0.7519 MB / 1.342 GB, free: 1.426 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.3684, allocations: 30.28 kB / 1.342 GB, free: 1.395 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.3686, allocations: 87.41 kB / 1.342 GB, free: 1.312 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3686, allocations: 0 / 1.342 GB, free: 1.312 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.3959, allocations: 5.709 MB / 1.348 GB, free: 11.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.96, allocations: 8.969 kB / 1.348 GB, free: 11.77 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.831595403025858] Failed to read output from testmodel.py, exit status != 0: 12.140604303975124 12.168508076 11.812978885 Calling exit ...