Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.839/1.839, allocations: 288.3 MB / 303.2 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 185 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 0.6306 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 94.88 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004074, allocations: 16 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2381, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002631/0.2408, allocations: 1.692 MB / 0.9811 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.2425, allocations: 0.7063 MB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.2429, allocations: 7.938 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.2431, allocations: 19.8 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.2432, allocations: 35.88 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.2437, allocations: 115.7 kB / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.2441, allocations: 219.6 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.2445, allocations: 190.5 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.2447, allocations: 95.62 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.2449, allocations: 119.4 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.2449, allocations: 12 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.245, allocations: 20 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.2451, allocations: 55.77 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.281e-05/0.2452, allocations: 65.58 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.2456, allocations: 315.4 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2456, allocations: 0 / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.509e-05/0.2456, allocations: 0 / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.2457, allocations: 0 / 0.983 GB, free: 24.01 MB / 0.6198 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.0009277/0.2466, allocations: 0.5443 MB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2466, allocations: 16 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.171e-05/0.2467, allocations: 35.58 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.247, allocations: 270.5 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.2471, allocations: 28.66 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.2472, allocations: 32 kB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.2478, allocations: 336.8 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.2478, allocations: 0 / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.2479, allocations: 12 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.2479, allocations: 8 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/0.2484, allocations: 262 kB / 0.9845 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.2499, allocations: 0.9552 MB / 0.9854 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.2505, allocations: 273.6 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.2505, allocations: 8 kB / 0.9857 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/0.2509, allocations: 175.3 kB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.2509, allocations: 0 / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.0007617/0.2516, allocations: 369.2 kB / 0.9862 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.2517, allocations: 55.41 kB / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.2518, allocations: 211.2 kB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.2519, allocations: 37.7 kB / 0.9865 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.252, allocations: 152.6 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.252, allocations: 94.78 kB / 0.9867 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/0.2521, allocations: 4 kB / 0.9867 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.2521, allocations: 338.8 kB / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.2524, allocations: 112.8 kB / 0.9872 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.2526, allocations: 169.5 kB / 0.9873 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.2529, allocations: 145.3 kB / 0.9875 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2529, allocations: 0 / 0.9875 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005851/0.2535, allocations: 370.8 kB / 0.9878 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.2535, allocations: 33.7 kB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2535, allocations: 4.156 kB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2535, allocations: 4 kB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2537, allocations: 47.91 kB / 0.9879 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2538, allocations: 7.984 kB / 0.9879 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.254, allocations: 51.66 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.2541, allocations: 23.98 kB / 0.988 GB, free: 18.62 MB / 0.6198 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,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.2542, allocations: 178.8 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.2542, allocations: 23.66 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005449/0.2548, allocations: 310.3 kB / 0.9885 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2548, allocations: 4 kB / 0.9885 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2548, allocations: 4 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.2548, allocations: 0 / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009399/0.2558, allocations: 0.757 MB / 0.9892 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2558, allocations: 0 / 0.9892 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.2559, allocations: 39.91 kB / 0.9892 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2559, allocations: 0 / 0.9892 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.256, allocations: 12 kB / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.256, allocations: 0 / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.256, allocations: 3.953 kB / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.2565, allocations: 383.3 kB / 0.9896 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.2565, allocations: 100.8 kB / 0.9897 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.2566, allocations: 8 kB / 0.9897 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.2568, allocations: 35.95 kB / 0.9898 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.764e-05/0.2569, allocations: 43.89 kB / 0.9898 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.2569, allocations: 12 kB / 0.9898 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.791e-05/0.257, allocations: 147.3 kB / 0.99 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.81e-07/0.257, allocations: 0 / 0.99 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003165/0.2573, allocations: 67.78 kB / 0.99 GB, free: 16.41 MB / 0.6198 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.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001679/0.2575, allocations: 121.5 kB / 0.9901 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005974/0.2581, allocations: 343.1 kB / 0.9905 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2581, allocations: 0 / 0.9905 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.2584, allocations: 139.8 kB / 0.9906 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.2586, allocations: 36.42 kB / 0.9906 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007844/0.2594, allocations: 0.5043 MB / 0.9911 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.2596, allocations: 0.7642 MB / 0.9919 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.2597, allocations: 34.28 kB / 0.9919 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.2598, allocations: 27.42 kB / 0.9919 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2598, allocations: 0 / 0.9919 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.006462/0.2663, allocations: 2.722 MB / 0.9946 GB, free: 11.68 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)