Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.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.000765/0.000765, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0007903/0.0007903, allocations: 213.2 kB / 22.25 MB, free: 3.586 MB / 13.93 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 0.9177/0.9177, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.329/2.329, allocations: 0.5556 GB / 0.8607 GB, free: 30.66 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009806/0.0009806, allocations: 68.22 kB / 1.253 GB, free: 22.76 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3543, allocations: 193.3 MB / 1.442 GB, free: 10.84 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl): time 0.002608/0.3569, allocations: 1.99 MB / 1.444 GB, free: 8.84 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.000943/0.3578, allocations: 0.713 MB / 1.444 GB, free: 8.121 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.3579, allocations: 4 kB / 1.444 GB, free: 8.117 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.358, allocations: 35.55 kB / 1.444 GB, free: 8.082 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 7.762e-05/0.3581, allocations: 35.66 kB / 1.444 GB, free: 8.047 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.3585, allocations: 163.8 kB / 1.445 GB, free: 7.887 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.3588, allocations: 411.2 kB / 1.445 GB, free: 7.484 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.3591, allocations: 208.9 kB / 1.445 GB, free: 7.281 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.3592, allocations: 135.6 kB / 1.445 GB, free: 7.148 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.3593, allocations: 131.4 kB / 1.445 GB, free: 7.02 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.3594, allocations: 40 kB / 1.445 GB, free: 6.98 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 6.803e-05/0.3594, allocations: 40 kB / 1.446 GB, free: 6.941 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.3595, allocations: 83.77 kB / 1.446 GB, free: 6.859 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 9.336e-05/0.3596, allocations: 131.4 kB / 1.446 GB, free: 6.73 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.3599, allocations: 450.3 kB / 1.446 GB, free: 6.289 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3599, allocations: 3.938 kB / 1.446 GB, free: 6.285 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3599, allocations: 0 / 1.446 GB, free: 6.285 MB / 1.12 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3599, allocations: 0 / 1.446 GB, free: 6.285 MB / 1.12 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0006953/0.3606, allocations: 0.5312 MB / 1.447 GB, free: 5.715 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3607, allocations: 12.03 kB / 1.447 GB, free: 5.703 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.04e-05/0.3607, allocations: 62.72 kB / 1.447 GB, free: 5.633 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.3609, allocations: 56.7 kB / 1.447 GB, free: 5.578 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.3612, allocations: 214.1 kB / 1.447 GB, free: 5.344 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.3613, allocations: 21.03 kB / 1.447 GB, free: 5.324 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.3613, allocations: 40.36 kB / 1.447 GB, free: 5.285 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.3617, allocations: 329.2 kB / 1.447 GB, free: 4.957 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3617, allocations: 3.938 kB / 1.447 GB, free: 4.953 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.3617, allocations: 12 kB / 1.447 GB, free: 4.941 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3618, allocations: 8 kB / 1.447 GB, free: 4.934 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.3621, allocations: 246.5 kB / 1.448 GB, free: 4.691 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009496/0.363, allocations: 0.8237 MB / 1.448 GB, free: 3.82 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.3634, allocations: 258.8 kB / 1.449 GB, free: 3.559 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3636, allocations: 108.8 kB / 1.449 GB, free: 3.449 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.3636, allocations: 4 kB / 1.449 GB, free: 3.445 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.3638, allocations: 171.8 kB / 1.449 GB, free: 3.266 MB / 1.12 GB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.3638, allocations: 0 / 1.449 GB, free: 3.266 MB / 1.12 GB Notification: Performance of matching and sorting (n=32): time 0.0005127/0.3644, allocations: 357.3 kB / 1.449 GB, free: 2.91 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3644, allocations: 67.39 kB / 1.449 GB, free: 2.832 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3645, allocations: 199.5 kB / 1.45 GB, free: 2.621 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.3646, allocations: 41.69 kB / 1.45 GB, free: 2.574 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.3646, allocations: 160.8 kB / 1.45 GB, free: 2.414 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.3647, allocations: 83.33 kB / 1.45 GB, free: 2.332 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.323e-05/0.3648, allocations: 86.11 kB / 1.45 GB, free: 2.238 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.3649, allocations: 338.8 kB / 1.45 GB, free: 1.898 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.365, allocations: 134.5 kB / 1.45 GB, free: 1.762 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.3652, allocations: 198.9 kB / 1.451 GB, free: 1.547 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.3655, allocations: 254.6 kB / 1.451 GB, free: 1.273 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3655, allocations: 0 / 1.451 GB, free: 1.273 MB / 1.12 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004161/0.3659, allocations: 404.6 kB / 1.451 GB, free: 0.8594 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.3659, allocations: 29.7 kB / 1.451 GB, free: 0.8242 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3659, allocations: 4 kB / 1.451 GB, free: 0.8203 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.366, allocations: 4 kB / 1.451 GB, free: 0.8164 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3661, allocations: 39.91 kB / 1.451 GB, free: 0.7773 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3661, allocations: 4 kB / 1.451 GB, free: 0.7734 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.3662, allocations: 59.91 kB / 1.451 GB, free: 0.7148 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.3662, allocations: 15.98 kB / 1.451 GB, free: 0.6992 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.localCondition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.localCondition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,wseCHWST.count,$PRE.wseCHWST.count,wseCHWST.T_start,$PRE.wseCHWST.T_start,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.0001315/0.3664, allocations: 181.6 kB / 1.452 GB, free: 0.5117 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.3664, allocations: 19.86 kB / 1.452 GB, free: 0.4922 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.3664, allocations: 30.64 kB / 1.452 GB, free: 472 kB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3664, allocations: 8 kB / 1.452 GB, free: 464 kB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3664, allocations: 0 / 1.452 GB, free: 464 kB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3664, allocations: 3.984 kB / 1.452 GB, free: 460 kB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000681/0.3671, allocations: 0.6671 MB / 1.452 GB, free: 15.73 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3671, allocations: 0 / 1.452 GB, free: 15.73 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.3672, allocations: 27.97 kB / 1.452 GB, free: 15.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3672, allocations: 7.938 kB / 1.452 GB, free: 15.7 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.3672, allocations: 7.938 kB / 1.452 GB, free: 15.69 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3672, allocations: 11.94 kB / 1.452 GB, free: 15.68 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3672, allocations: 0 / 1.452 GB, free: 15.68 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.3676, allocations: 368.5 kB / 1.453 GB, free: 15.3 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.3676, allocations: 27.78 kB / 1.453 GB, free: 15.27 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.3676, allocations: 7.938 kB / 1.453 GB, free: 15.27 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3677, allocations: 31.95 kB / 1.453 GB, free: 15.23 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.3678, allocations: 47.89 kB / 1.453 GB, free: 15.19 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.3678, allocations: 7.984 kB / 1.453 GB, free: 15.18 MB / 1.135 GB Notification: Performance of sorting global known variables: time 6.93e-05/0.3679, allocations: 133.2 kB / 1.453 GB, free: 15.05 MB / 1.135 GB Notification: Performance of sort global known variables: time 5e-08/0.3679, allocations: 0 / 1.453 GB, free: 15.05 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0002098/0.3681, allocations: 63.89 kB / 1.453 GB, free: 14.99 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.localActive,wseCon.off.newActive,wseCon.off.oldActive,wseCon.T1.localCondition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.localActive,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.localCondition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0005852/0.3687, allocations: 0.9211 MB / 1.454 GB, free: 14.04 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0004287/0.3691, allocations: 345.4 kB / 1.454 GB, free: 13.68 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3691, allocations: 0 / 1.454 GB, free: 13.68 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.3693, allocations: 123.9 kB / 1.454 GB, free: 13.56 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.3695, allocations: 36.89 kB / 1.454 GB, free: 13.53 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.372, allocations: 2.747 MB / 1.457 GB, free: 10.63 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.3721, allocations: 146.8 kB / 1.457 GB, free: 10.48 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 8.907e-05/0.3722, allocations: 30.28 kB / 1.457 GB, free: 10.44 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3723, allocations: 87.34 kB / 1.457 GB, free: 10.36 MB / 1.135 GB Notification: Performance of SimCode: time 1.192e-06/0.3723, allocations: 0 / 1.457 GB, free: 10.36 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.3945, allocations: 6.132 MB / 1.463 GB, free: 4.406 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.93, allocations: 14.44 kB / 1.463 GB, free: 4.398 MB / 1.135 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_WSEControl.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 840.0] [Calling sys.exit(0), Time elapsed: 12.980540374293923]