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.001617/0.001617, allocations: 116.8 kB / 17.17 MB, free: 6 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.001851/0.001851, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.59/1.59, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.023/3.023, allocations: 0.49 GB / 0.7923 GB, free: 1.332 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.002007/0.002007, allocations: 66.09 kB / 1.149 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231/1.233, allocations: 176.1 MB / 1.321 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003082/1.236, allocations: 2.08 MB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001255/1.238, allocations: 0.7977 MB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/1.238, allocations: 9.75 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001555/1.238, allocations: 30 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/1.238, allocations: 49.2 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/1.239, allocations: 176.5 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003472/1.239, allocations: 400.5 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/1.239, allocations: 208.9 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/1.239, allocations: 140.6 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/1.24, allocations: 147.4 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/1.24, allocations: 38.72 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/1.24, allocations: 51.75 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/1.24, allocations: 84.14 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/1.24, allocations: 152.5 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004111/1.24, allocations: 432.9 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.24, allocations: 4 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.875e-06/1.24, allocations: 2.812 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.004e-05/1.24, allocations: 0 / 1.326 GB, free: 21.74 MB / 1.061 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.000857/1.241, allocations: 0.5845 MB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.241, allocations: 14.17 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.519e-05/1.241, allocations: 8.688 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.419e-05/1.241, allocations: 61.22 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004376/1.242, allocations: 62.83 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/1.242, allocations: 287.7 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/1.242, allocations: 26.75 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/1.242, allocations: 31.42 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/1.243, allocations: 312 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/1.243, allocations: 4 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/1.243, allocations: 11.12 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/1.243, allocations: 6.5 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/1.243, allocations: 236.2 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/1.245, allocations: 0.9232 MB / 1.329 GB, free: 19.99 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005841/1.246, allocations: 226.7 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/1.246, allocations: 106.5 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/1.246, allocations: 7.109 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/1.246, allocations: 154.6 kB / 1.329 GB, free: 19.76 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.804e-06/1.246, allocations: 0 / 1.329 GB, free: 19.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.0008433/1.247, allocations: 322.4 kB / 1.329 GB, free: 19.63 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/1.247, allocations: 62.75 kB / 1.329 GB, free: 19.56 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/1.247, allocations: 208.3 kB / 1.33 GB, free: 19.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/1.247, allocations: 40.06 kB / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.247, allocations: 157.6 kB / 1.33 GB, free: 19.24 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/1.248, allocations: 80.81 kB / 1.33 GB, free: 19.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/1.248, allocations: 78.44 kB / 1.33 GB, free: 19.13 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/1.248, allocations: 340.6 kB / 1.33 GB, free: 18.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/1.248, allocations: 92.33 kB / 1.33 GB, free: 18.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/1.248, allocations: 149.5 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/1.249, allocations: 227 kB / 1.331 GB, free: 18.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.249, allocations: 0 / 1.331 GB, free: 18.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000576/1.249, allocations: 294.5 kB / 1.331 GB, free: 18.42 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.249, allocations: 5.375 kB / 1.331 GB, free: 18.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.249, allocations: 6.375 kB / 1.331 GB, free: 18.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/1.249, allocations: 3.156 kB / 1.331 GB, free: 18.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/1.249, allocations: 44.78 kB / 1.331 GB, free: 18.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/1.25, allocations: 3.812 kB / 1.331 GB, free: 18.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/1.25, allocations: 45.91 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/1.25, allocations: 17.73 kB / 1.331 GB, free: 18.38 MB / 1.061 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.0001664/1.25, allocations: 180 kB / 1.331 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/1.25, allocations: 21.92 kB / 1.331 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.348e-05/1.25, allocations: 28.91 kB / 1.331 GB, free: 18.19 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/1.25, allocations: 3.625 kB / 1.331 GB, free: 18.19 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.25, allocations: 0.6094 kB / 1.331 GB, free: 18.19 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.25, allocations: 2.406 kB / 1.331 GB, free: 18.19 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/1.251, allocations: 0.7064 MB / 1.332 GB, free: 17.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.251, allocations: 4.656 kB / 1.332 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/1.251, allocations: 33.56 kB / 1.332 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/1.251, allocations: 2.359 kB / 1.332 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/1.251, allocations: 2.016 kB / 1.332 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.251, allocations: 2.125 kB / 1.332 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.251, allocations: 3.938 kB / 1.332 GB, free: 17.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/1.252, allocations: 343.7 kB / 1.332 GB, free: 17.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/1.252, allocations: 99.84 kB / 1.333 GB, free: 17.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/1.252, allocations: 10.8 kB / 1.333 GB, free: 17.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/1.252, allocations: 26.92 kB / 1.333 GB, free: 17.37 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/1.252, allocations: 42.12 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/1.253, allocations: 6.438 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001586/1.253, allocations: 145.5 kB / 1.333 GB, free: 17.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.253, allocations: 0 / 1.333 GB, free: 17.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000386/1.253, allocations: 64.97 kB / 1.333 GB, free: 17.23 MB / 1.061 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.0008525/1.254, allocations: 0.893 MB / 1.334 GB, free: 16.49 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006393/1.255, allocations: 238.8 kB / 1.334 GB, free: 16.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.255, allocations: 0.5625 kB / 1.334 GB, free: 16.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/1.255, allocations: 108.4 kB / 1.334 GB, free: 16.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/1.255, allocations: 34.33 kB / 1.334 GB, free: 16.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/1.259, allocations: 2.556 MB / 1.337 GB, free: 14.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/1.259, allocations: 0.7575 MB / 1.337 GB, free: 13.87 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001295/1.259, allocations: 24.44 kB / 1.337 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/1.259, allocations: 86.81 kB / 1.337 GB, free: 13.8 MB / 1.061 GB Notification: Performance of SimCode: time 7.41e-07/1.259, allocations: 4.625 kB / 1.337 GB, free: 13.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/1.292, allocations: 5.47 MB / 1.343 GB, free: 13.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/9.855, allocations: 22.38 kB / 1.343 GB, free: 13.11 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.678104859020095] Failed to read output from testmodel.py, exit status != 0: 9.986210422008298 10.008559782 8.764148504 Calling exit ...