Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001383/0.001383, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00146/0.00146, allocations: 219.3 kB / 23.03 MB, free: 4.945 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.753/2.753, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Reheat,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_11_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.002036/0.002036, allocations: 63.75 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3753, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004655/0.38, allocations: 1.993 MB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3819, allocations: 0.7597 MB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.3822, allocations: 7.938 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.3824, allocations: 31.61 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.3826, allocations: 43.59 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.3833, allocations: 191.7 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000634/0.384, allocations: 411.1 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004437/0.3844, allocations: 204.4 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.3847, allocations: 143.5 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.3849, allocations: 147.3 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.3849, allocations: 36 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3851, allocations: 52 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/0.3852, allocations: 87.73 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.3853, allocations: 115.5 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005245/0.3858, allocations: 435.7 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.3858, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3858, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3858, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 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.0008827/0.3867, allocations: 0.5129 MB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3868, allocations: 8.031 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.128e-05/0.3868, allocations: 12.84 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.892e-05/0.3869, allocations: 62.72 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004618/0.3873, allocations: 68.66 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.3877, allocations: 210.6 kB / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.3878, allocations: 33.02 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.3878, allocations: 28.38 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/0.3884, allocations: 309 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3885, allocations: 4 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.3885, allocations: 12 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.3885, allocations: 8 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004898/0.389, allocations: 238.4 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.3904, allocations: 0.8126 MB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.3909, allocations: 230.9 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.3911, allocations: 105.2 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3912, allocations: 240 / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003072/0.3915, allocations: 164.8 kB / 1.291 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.684e-06/0.3915, allocations: 0 / 1.291 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007405/0.3922, allocations: 329.4 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.3923, allocations: 67.33 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.3925, allocations: 204.3 kB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.3925, allocations: 37.7 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.3926, allocations: 160.8 kB / 1.292 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.3927, allocations: 83.31 kB / 1.292 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.3928, allocations: 77.69 kB / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.393, allocations: 338.8 kB / 1.293 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.3932, allocations: 95.91 kB / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.3934, allocations: 148.8 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.3938, allocations: 222 kB / 1.293 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3938, allocations: 3.938 kB / 1.293 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000564/0.3944, allocations: 308.9 kB / 1.293 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3944, allocations: 4 kB / 1.293 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3944, allocations: 4 kB / 1.293 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3944, allocations: 0 / 1.293 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.3946, allocations: 39.92 kB / 1.293 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.3946, allocations: 4 kB / 1.293 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.3948, allocations: 43.8 kB / 1.293 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.3949, allocations: 12 kB / 1.293 GB, free: 0.8359 MB / 0.9825 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.0001859/0.395, allocations: 177.7 kB / 1.294 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.3951, allocations: 27.84 kB / 1.294 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.533e-05/0.3952, allocations: 30.66 kB / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.3952, allocations: 4 kB / 1.294 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3952, allocations: 0 / 1.294 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3952, allocations: 3.984 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3962, allocations: 0.6422 MB / 1.294 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3962, allocations: 4 kB / 1.294 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.3964, allocations: 31.92 kB / 1.294 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.3964, allocations: 4 kB / 1.294 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.3964, allocations: 7.984 kB / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3964, allocations: 0 / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.3964, allocations: 7.922 kB / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.3969, allocations: 353.4 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.397, allocations: 23.8 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.397, allocations: 8 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3972, allocations: 31.97 kB / 1.295 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3973, allocations: 39.88 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.3973, allocations: 12 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001187/0.3975, allocations: 139.3 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3975, allocations: 0 / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000316/0.3978, allocations: 59.89 kB / 1.295 GB, free: 15.17 MB / 0.9981 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.0008507/0.3986, allocations: 0.8975 MB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005077/0.3991, allocations: 231.8 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3991, allocations: 0 / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.3994, allocations: 111.8 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.3998, allocations: 36.22 kB / 1.296 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.4031, allocations: 2.544 MB / 1.299 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.4033, allocations: 150.9 kB / 1.299 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.4034, allocations: 30.28 kB / 1.299 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.4036, allocations: 79.41 kB / 1.299 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.4036, allocations: 0 / 1.299 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.4316, allocations: 5.804 MB / 1.305 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.17, allocations: 8.562 kB / 1.305 GB, free: 5.332 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.94523552095052] Failed to read output from testmodel.py, exit status != 0: 12.923468778957613 12.348504466 11.959496171 Calling exit ...