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.001845/0.001845, allocations: 115.4 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.002327/0.002327, allocations: 210.2 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.677/1.677, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.958/2.958, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 GB " [Timeout remaining time 176] 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.002969/0.002969, allocations: 73.92 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193/1.196, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003883/1.2, allocations: 2.077 MB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001561/1.201, allocations: 0.7982 MB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/1.202, allocations: 8.938 kB / 1.282 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/1.202, allocations: 31.41 kB / 1.282 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/1.202, allocations: 50.36 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005464/1.202, allocations: 173.6 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006817/1.203, allocations: 400.9 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/1.204, allocations: 210 kB / 1.283 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/1.204, allocations: 148.7 kB / 1.283 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/1.204, allocations: 148.1 kB / 1.283 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.349e-05/1.204, allocations: 37.75 kB / 1.283 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/1.204, allocations: 50.92 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/1.204, allocations: 81.81 kB / 1.283 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/1.204, allocations: 153.9 kB / 1.283 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006105/1.205, allocations: 434.4 kB / 1.284 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.205, allocations: 0 / 1.284 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.442e-06/1.205, allocations: 0 / 1.284 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.829e-06/1.205, allocations: 2.422 kB / 1.284 GB, free: 8.734 MB / 0.9981 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.0009702/1.206, allocations: 0.5801 MB / 1.284 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.206, allocations: 9.406 kB / 1.284 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.625e-05/1.206, allocations: 11.66 kB / 1.284 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.816e-05/1.206, allocations: 62.86 kB / 1.284 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/1.207, allocations: 64.34 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/1.207, allocations: 293.2 kB / 1.285 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/1.207, allocations: 23.83 kB / 1.285 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/1.207, allocations: 32.78 kB / 1.285 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/1.208, allocations: 310.6 kB / 1.285 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/1.208, allocations: 3.938 kB / 1.285 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/1.208, allocations: 11.52 kB / 1.285 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/1.208, allocations: 6.812 kB / 1.285 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/1.208, allocations: 237.5 kB / 1.285 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/1.21, allocations: 0.9154 MB / 1.286 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/1.211, allocations: 230.6 kB / 1.286 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/1.211, allocations: 102.9 kB / 1.286 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/1.211, allocations: 4.203 kB / 1.286 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/1.211, allocations: 160.7 kB / 1.287 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/1.211, allocations: 1.094 kB / 1.287 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.0007494/1.212, allocations: 324 kB / 1.287 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/1.212, allocations: 61.69 kB / 1.287 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/1.212, allocations: 208.7 kB / 1.287 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/1.212, allocations: 48.89 kB / 1.287 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/1.212, allocations: 156.7 kB / 1.287 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.324e-05/1.212, allocations: 81.11 kB / 1.287 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/1.213, allocations: 78.19 kB / 1.287 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.213, allocations: 337.8 kB / 1.288 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/1.213, allocations: 96.8 kB / 1.288 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/1.213, allocations: 157.3 kB / 1.288 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004045/1.214, allocations: 213.8 kB / 1.288 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.214, allocations: 5.406 kB / 1.288 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005841/1.214, allocations: 304.1 kB / 1.289 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.214, allocations: 6.125 kB / 1.289 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/1.214, allocations: 1.406 kB / 1.289 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.214, allocations: 4.188 kB / 1.289 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/1.214, allocations: 44.25 kB / 1.289 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.214, allocations: 3.266 kB / 1.289 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/1.215, allocations: 45.52 kB / 1.289 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/1.215, allocations: 13.75 kB / 1.289 GB, free: 5.363 MB / 0.9981 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.0001968/1.215, allocations: 174.3 kB / 1.289 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/1.215, allocations: 24 kB / 1.289 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.401e-05/1.215, allocations: 36.19 kB / 1.289 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.215, allocations: 2.281 kB / 1.289 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.215, allocations: 1.844 kB / 1.289 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/1.215, allocations: 5.438 kB / 1.289 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/1.216, allocations: 0.7114 MB / 1.29 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.216, allocations: 0 / 1.29 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/1.216, allocations: 25.56 kB / 1.29 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/1.216, allocations: 5.031 kB / 1.29 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/1.216, allocations: 7.297 kB / 1.29 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.216, allocations: 1.875 kB / 1.29 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.216, allocations: 3.938 kB / 1.29 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/1.217, allocations: 343.4 kB / 1.29 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/1.217, allocations: 100.9 kB / 1.29 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/1.217, allocations: 5.969 kB / 1.29 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/1.217, allocations: 31.08 kB / 1.29 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.217, allocations: 37.67 kB / 1.29 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/1.217, allocations: 12.23 kB / 1.29 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001341/1.217, allocations: 132.5 kB / 1.29 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.217, allocations: 1.5 kB / 1.29 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003199/1.218, allocations: 60.09 kB / 1.29 GB, free: 4.23 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.0009501/1.219, allocations: 0.8923 MB / 1.291 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000552/1.219, allocations: 236.4 kB / 1.291 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.219, allocations: 4.312 kB / 1.291 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/1.22, allocations: 112 kB / 1.291 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/1.22, allocations: 39.53 kB / 1.292 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/1.224, allocations: 2.565 MB / 1.294 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/1.224, allocations: 0.7542 MB / 1.295 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001217/1.224, allocations: 31.92 kB / 1.295 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/1.224, allocations: 82.75 kB / 1.295 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/1.224, allocations: 0.875 kB / 1.295 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/1.256, allocations: 5.464 MB / 1.3 GB, free: 100 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.286/10.54, allocations: 15.66 kB / 1.3 GB, free: 96 kB / 0.9981 GB " [Timeout remaining time 289] (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: 17.508862034010235] Failed to read output from testmodel.py, exit status != 0: 10.669876047002617 10.693239192 9.483834943 Calling exit ...