Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.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.0006872/0.0006872, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008212/0.001508, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006641/0.0006641, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007947/0.001459, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9733/0.9733, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09607/1.069, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.966/1.966, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.484/2.45, allocations: 127.1 MB / 0.7432 GB, free: 4.602 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0.6562 kB / 0.7445 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.297e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003732/0.003755, allocations: 2.097 MB / 0.7465 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.005186, allocations: 0.7277 MB / 0.7472 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.005338, allocations: 4 kB / 0.7472 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.005472, allocations: 40.47 kB / 0.7473 GB, free: 480 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.005603, allocations: 43.61 kB / 0.7473 GB, free: 448 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.006106, allocations: 168.4 kB / 0.7475 GB, free: 280 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005969/0.006703, allocations: 412.7 kB / 0.7479 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.007121, allocations: 215.2 kB / 0.7481 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003172/0.007438, allocations: 223.5 kB / 0.7483 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.007655, allocations: 107.7 kB / 0.7484 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.513e-05/0.00772, allocations: 43.84 kB / 0.7484 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.007833, allocations: 48 kB / 0.7485 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.934e-05/0.007922, allocations: 63.8 kB / 0.7485 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.008037, allocations: 83.81 kB / 0.7486 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.008503, allocations: 239.1 kB / 0.7488 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.035e-05/0.008523, allocations: 0 / 0.7488 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.583e-06/0.008525, allocations: 0 / 0.7488 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.233e-05/0.008547, allocations: 0 / 0.7488 GB, free: 14.88 MB / 0.7292 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.0009977/0.009545, allocations: 0.5568 MB / 0.7494 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.009584, allocations: 15.06 kB / 0.7494 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003253/0.009909, allocations: 138 kB / 0.7495 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.01021, allocations: 174.2 kB / 0.7497 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.01026, allocations: 29.03 kB / 0.7497 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.0103, allocations: 32.38 kB / 0.7498 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.01075, allocations: 250.2 kB / 0.75 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.01076, allocations: 192 / 0.75 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.01079, allocations: 15.78 kB / 0.75 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.0108, allocations: 7.938 kB / 0.75 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.01099, allocations: 84.48 kB / 0.7501 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.01203, allocations: 0.5787 MB / 0.7507 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.0123, allocations: 132.6 kB / 0.7508 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/0.01239, allocations: 56.81 kB / 0.7508 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.01241, allocations: 4 kB / 0.7509 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.01265, allocations: 127.7 kB / 0.751 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 2.795e-06/0.01265, allocations: 0 / 0.751 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0003252/0.01298, allocations: 161.5 kB / 0.7511 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.01303, allocations: 67.39 kB / 0.7512 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.01318, allocations: 180.3 kB / 0.7514 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.01322, allocations: 53.5 kB / 0.7514 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.01332, allocations: 152.6 kB / 0.7516 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.696e-05/0.0134, allocations: 79.36 kB / 0.7516 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.01352, allocations: 94.11 kB / 0.7517 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.01363, allocations: 334.8 kB / 0.752 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.01373, allocations: 66.62 kB / 0.7521 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.01386, allocations: 123.8 kB / 0.7522 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.01407, allocations: 169.4 kB / 0.7524 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01407, allocations: 0 / 0.7524 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003418/0.01441, allocations: 240.8 kB / 0.7526 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.01446, allocations: 33.64 kB / 0.7526 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.01447, allocations: 5.062 kB / 0.7527 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01448, allocations: 0 / 0.7527 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.01472, allocations: 61 kB / 0.7527 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.01472, allocations: 4 kB / 0.7527 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.01488, allocations: 44.81 kB / 0.7528 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.01491, allocations: 8 kB / 0.7528 GB, free: 10.62 MB / 0.7292 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.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,wseCon.stateGraphRoot.suspend,wseCon.stateGraphRoot.resume) * 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.0001332/0.01504, allocations: 147.4 kB / 0.7529 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.01508, allocations: 25.47 kB / 0.7529 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.988e-05/0.01514, allocations: 34.59 kB / 0.753 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.01514, allocations: 7.984 kB / 0.753 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01515, allocations: 0 / 0.753 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.01515, allocations: 4.703 kB / 0.753 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006041/0.01576, allocations: 400.4 kB / 0.7534 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01576, allocations: 0.5938 kB / 0.7534 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.01588, allocations: 33.11 kB / 0.7534 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.01592, allocations: 27.78 kB / 0.7534 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.01592, allocations: 0 / 0.7534 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01593, allocations: 5.219 kB / 0.7534 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.01594, allocations: 4 kB / 0.7534 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01594, allocations: 0 / 0.7534 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.01619, allocations: 240.6 kB / 0.7537 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.01622, allocations: 8.938 kB / 0.7537 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.01637, allocations: 24.88 kB / 0.7537 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.01646, allocations: 36.44 kB / 0.7537 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.01647, allocations: 8 kB / 0.7537 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.539e-05/0.01652, allocations: 36.73 kB / 0.7538 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01652, allocations: 4 kB / 0.7538 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000292/0.01681, allocations: 65.44 kB / 0.7538 GB, free: 9.496 MB / 0.7292 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.0001485/0.01696, allocations: 98.86 kB / 0.7539 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000327/0.01729, allocations: 241.1 kB / 0.7542 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/0.0173, allocations: 7.938 kB / 0.7542 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.01742, allocations: 84.73 kB / 0.7542 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01771, allocations: 52.84 kB / 0.7543 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.01946, allocations: 432 kB / 0.7547 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.486e-05/0.01954, allocations: 88.92 kB / 0.7548 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.01966, allocations: 20.61 kB / 0.7548 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.01982, allocations: 96.84 kB / 0.7549 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of SimCode: time 1.342e-06/0.01982, allocations: 4 kB / 0.7549 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.007466/0.02728, allocations: 3.149 MB / 0.758 GB, free: 5.332 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.925773824565113]