Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004144/0.004144, allocations: 100.5 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 191.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 251.7 MB / 0.5094 GB, free: 2.969 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 70.09 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1635, allocations: 104.7 MB / 0.828 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002771/0.1663, allocations: 2.013 MB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1674, allocations: 0.741 MB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1675, allocations: 4 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.1676, allocations: 31.55 kB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.391e-05/0.1677, allocations: 39.64 kB / 0.8308 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.1681, allocations: 159.8 kB / 0.831 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.1685, allocations: 411.2 kB / 0.8313 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.1688, allocations: 243.9 kB / 0.8316 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1689, allocations: 139.5 kB / 0.8317 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1691, allocations: 151.4 kB / 0.8319 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.1691, allocations: 36 kB / 0.8319 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.058e-05/0.1692, allocations: 47.98 kB / 0.8319 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.05e-05/0.1693, allocations: 79.77 kB / 0.832 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1694, allocations: 155.3 kB / 0.8322 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.1698, allocations: 438.5 kB / 0.8326 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1698, allocations: 4 kB / 0.8326 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1698, allocations: 0 / 0.8326 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1698, allocations: 0 / 0.8326 GB, free: 11.48 MB / 0.6544 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.000807/0.1706, allocations: 0.599 MB / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.1706, allocations: 12.03 kB / 0.8332 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.1707, allocations: 32.56 kB / 0.8332 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.171, allocations: 271.8 kB / 0.8335 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.171, allocations: 21.03 kB / 0.8335 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.1711, allocations: 40.36 kB / 0.8335 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.1717, allocations: 329.2 kB / 0.8338 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1717, allocations: 0 / 0.8338 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.1717, allocations: 12 kB / 0.8339 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1717, allocations: 8 kB / 0.8339 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005195/0.1723, allocations: 262 kB / 0.8341 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.1735, allocations: 0.9511 MB / 0.835 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.1741, allocations: 266.9 kB / 0.8353 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.1743, allocations: 128.8 kB / 0.8354 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1744, allocations: 0 / 0.8354 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.1747, allocations: 183.2 kB / 0.8356 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.1747, allocations: 0 / 0.8356 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.0007596/0.1755, allocations: 361.7 kB / 0.8359 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.1755, allocations: 59.39 kB / 0.836 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1757, allocations: 203.3 kB / 0.8362 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.1757, allocations: 37.7 kB / 0.8362 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.1758, allocations: 156.6 kB / 0.8364 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.1759, allocations: 82.89 kB / 0.8365 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.176, allocations: 82.12 kB / 0.8365 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.1761, allocations: 346.8 kB / 0.8369 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.1763, allocations: 104.8 kB / 0.837 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.1766, allocations: 165.5 kB / 0.8371 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.177, allocations: 262.6 kB / 0.8374 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.177, allocations: 4 kB / 0.8374 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005957/0.1776, allocations: 366.6 kB / 0.8377 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.1777, allocations: 33.69 kB / 0.8378 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1777, allocations: 4 kB / 0.8378 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1777, allocations: 4 kB / 0.8378 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.1779, allocations: 43.91 kB / 0.8378 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1779, allocations: 0 / 0.8378 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.1781, allocations: 59.81 kB / 0.8379 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.1782, allocations: 15.92 kB / 0.8379 GB, free: 5.754 MB / 0.6544 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.0001408/0.1783, allocations: 173.7 kB / 0.838 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.1783, allocations: 19.72 kB / 0.8381 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/0.1789, allocations: 302.3 kB / 0.8383 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1789, allocations: 4 kB / 0.8384 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1789, allocations: 0 / 0.8384 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1789, allocations: 0 / 0.8384 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009236/0.1799, allocations: 0.7497 MB / 0.8391 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1799, allocations: 0 / 0.8391 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.18, allocations: 35.86 kB / 0.8391 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.18, allocations: 7.984 kB / 0.8391 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.18, allocations: 8 kB / 0.8391 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1801, allocations: 3.938 kB / 0.8391 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1801, allocations: 4 kB / 0.8391 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.1806, allocations: 376.4 kB / 0.8395 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.1806, allocations: 96.86 kB / 0.8396 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.1807, allocations: 12 kB / 0.8396 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.1809, allocations: 35.89 kB / 0.8396 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.181, allocations: 35.95 kB / 0.8397 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.181, allocations: 12 kB / 0.8397 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.277e-05/0.1811, allocations: 127.2 kB / 0.8398 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1811, allocations: 3.938 kB / 0.8398 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002865/0.1814, allocations: 83.69 kB / 0.8399 GB, free: 3.586 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$cse1,$cse2,$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 (34): * Single equations (assignments): 28 * 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.0001319/0.1815, allocations: 113.5 kB / 0.84 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005696/0.1821, allocations: 336.2 kB / 0.8403 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1821, allocations: 320 / 0.8403 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.1824, allocations: 147.8 kB / 0.8405 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.1827, allocations: 35.72 kB / 0.8405 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000699/0.1834, allocations: 449 kB / 0.8409 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.1837, allocations: 0.7641 MB / 0.8417 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.569e-05/0.1838, allocations: 30.28 kB / 0.8417 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.465e-05/0.1838, allocations: 31.42 kB / 0.8417 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.1838, allocations: 3.938 kB / 0.8417 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of Templates: time 0.005914/0.1898, allocations: 3.152 MB / 0.8448 GB, free: 14.5 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)