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.001555/0.001555, allocations: 110.1 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.001824/0.001824, allocations: 219.8 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.797/2.797, allocations: 476.7 MB / 0.7715 GB, free: 4.312 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.001991/0.001991, allocations: 62.05 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3371, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003749/0.3409, allocations: 2.081 MB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3424, allocations: 0.8026 MB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.3426, allocations: 7.938 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.3428, allocations: 31.61 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.3429, allocations: 47.53 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.3434, allocations: 183.7 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004695/0.3439, allocations: 415.1 kB / 1.288 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.3442, allocations: 200 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.3445, allocations: 151.5 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.3447, allocations: 147.4 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.3447, allocations: 40 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.3448, allocations: 55.92 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.583e-05/0.3449, allocations: 75.83 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.3451, allocations: 151.2 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005048/0.3456, allocations: 434.3 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.3456, allocations: 0 / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3456, allocations: 0 / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3456, allocations: 0 / 1.289 GB, free: 6.984 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.0009102/0.3465, allocations: 0.5167 MB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3465, allocations: 12.03 kB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.295e-05/0.3466, allocations: 4.844 kB / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.762e-05/0.3466, allocations: 62.73 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/0.3471, allocations: 60.7 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.3475, allocations: 222.5 kB / 1.29 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.3475, allocations: 29.03 kB / 1.29 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.3476, allocations: 28.38 kB / 1.29 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.3482, allocations: 316.9 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3482, allocations: 3.938 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.3482, allocations: 12 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.3482, allocations: 12 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.3487, allocations: 234.5 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.3502, allocations: 0.8866 MB / 1.291 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.3507, allocations: 227.5 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.3509, allocations: 101.3 kB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.3509, allocations: 8.219 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003335/0.3513, allocations: 164.8 kB / 1.292 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.3513, allocations: 0 / 1.292 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007169/0.352, allocations: 321.9 kB / 1.292 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.352, allocations: 55.41 kB / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.3522, allocations: 212.3 kB / 1.292 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.3523, allocations: 37.7 kB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.3524, allocations: 156.8 kB / 1.292 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.722e-05/0.3525, allocations: 95.25 kB / 1.292 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.3526, allocations: 77.69 kB / 1.293 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3527, allocations: 334.8 kB / 1.293 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.3529, allocations: 95.91 kB / 1.293 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.3532, allocations: 152.8 kB / 1.293 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.3536, allocations: 214 kB / 1.293 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3536, allocations: 4 kB / 1.293 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005421/0.3541, allocations: 300.9 kB / 1.294 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3541, allocations: 8 kB / 1.294 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3541, allocations: 0 / 1.294 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3542, allocations: 7.984 kB / 1.294 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.3544, allocations: 31.92 kB / 1.294 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.3544, allocations: 7.984 kB / 1.294 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.3546, allocations: 51.91 kB / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.3546, allocations: 15.98 kB / 1.294 GB, free: 1.73 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.0001825/0.3548, allocations: 181.6 kB / 1.294 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.3548, allocations: 19.86 kB / 1.294 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.3549, allocations: 30.64 kB / 1.294 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3549, allocations: 4 kB / 1.294 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3549, allocations: 4 kB / 1.294 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3549, allocations: 0 / 1.294 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.356, allocations: 0.6812 MB / 1.295 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.356, allocations: 0 / 1.295 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.3561, allocations: 27.98 kB / 1.295 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3561, allocations: 0 / 1.295 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.3561, allocations: 8 kB / 1.295 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3561, allocations: 0 / 1.295 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3562, allocations: 15.86 kB / 1.295 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.3566, allocations: 337.4 kB / 1.295 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.3567, allocations: 31.78 kB / 1.295 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.3567, allocations: 8 kB / 1.295 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.3569, allocations: 23.97 kB / 1.295 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.357, allocations: 47.88 kB / 1.295 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.357, allocations: 4 kB / 1.295 GB, free: 252 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001162/0.3572, allocations: 143.3 kB / 1.295 GB, free: 108 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3572, allocations: 0 / 1.295 GB, free: 108 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003075/0.3575, allocations: 63.83 kB / 1.295 GB, free: 44 kB / 0.9825 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.0008608/0.3583, allocations: 0.8921 MB / 1.296 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005147/0.3588, allocations: 231.8 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3588, allocations: 0 / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.3591, allocations: 116.1 kB / 1.296 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3594, allocations: 47.83 kB / 1.297 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.3627, allocations: 2.548 MB / 1.299 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.3631, allocations: 0.7558 MB / 1.3 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.3632, allocations: 30.28 kB / 1.3 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.3634, allocations: 91.34 kB / 1.3 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/0.3634, allocations: 0 / 1.3 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.3915, allocations: 5.704 MB / 1.305 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.86, allocations: 17.73 kB / 1.305 GB, free: 5.629 MB / 0.9981 GB " [Timeout remaining time 287] (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.742817453981843] Failed to read output from testmodel.py, exit status != 0: 12.589899497979786 12.059687303 11.707946525 Calling exit ...