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.752/1.752, allocations: 288.4 MB / 303.4 MB, free: 8.098 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.001292/0.001292, allocations: 180.5 kB / 372 MB, free: 10.26 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.897/1.897, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0009725/0.0009724, allocations: 90.34 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004258, allocations: 14.39 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2197, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002265/0.222, allocations: 1.696 MB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2233, allocations: 0.714 MB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.2236, allocations: 7.938 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.2237, allocations: 27.73 kB / 0.982 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.2239, allocations: 27.78 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.2244, allocations: 103.9 kB / 0.9821 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.2249, allocations: 347.2 kB / 0.9824 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004144/0.2253, allocations: 190.5 kB / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.2255, allocations: 99.61 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.2257, allocations: 111.5 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.2258, allocations: 16 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-05/0.2259, allocations: 20 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.2259, allocations: 51.75 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.688e-05/0.226, allocations: 73.58 kB / 0.983 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.2263, allocations: 303.5 kB / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2263, allocations: 3.938 kB / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2264, allocations: 0 / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.2264, allocations: 0 / 0.9833 GB, free: 23.89 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.0009267/0.2273, allocations: 0.5492 MB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2274, allocations: 12.02 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.2275, allocations: 39.56 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.2278, allocations: 269.4 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.2279, allocations: 24.66 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.2279, allocations: 32 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/0.2286, allocations: 344.8 kB / 0.9845 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.2286, allocations: 0 / 0.9845 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.2286, allocations: 12 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2286, allocations: 8 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005568/0.2292, allocations: 258.1 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.2305, allocations: 0.9591 MB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.2311, allocations: 275.1 kB / 0.986 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.2313, allocations: 124.8 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2314, allocations: 4 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.2318, allocations: 187.2 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.214e-06/0.2318, allocations: 3.938 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.0007506/0.2325, allocations: 365.2 kB / 0.9866 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.2326, allocations: 59.41 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.2328, allocations: 215.2 kB / 0.9869 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.2328, allocations: 37.7 kB / 0.9869 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.2329, allocations: 148.6 kB / 0.987 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.233, allocations: 90.83 kB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.233, allocations: 8 kB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.955e-05/0.2331, allocations: 334.8 kB / 0.9875 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.2333, allocations: 116.8 kB / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.2336, allocations: 169.4 kB / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.2339, allocations: 137.4 kB / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.2339, allocations: 4 kB / 0.9879 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006266/0.2345, allocations: 366.8 kB / 0.9882 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.2346, allocations: 41.69 kB / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2346, allocations: 0 / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.2346, allocations: 4 kB / 0.9883 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.2348, allocations: 43.91 kB / 0.9883 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2348, allocations: 4 kB / 0.9883 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.2351, allocations: 63.81 kB / 0.9884 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.2351, allocations: 15.95 kB / 0.9884 GB, free: 18.37 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.0001505/0.2353, allocations: 182.8 kB / 0.9886 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.2353, allocations: 23.72 kB / 0.9886 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005536/0.2359, allocations: 298.4 kB / 0.9889 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2359, allocations: 7.984 kB / 0.9889 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2359, allocations: 3.984 kB / 0.9889 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2359, allocations: 4 kB / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009719/0.2369, allocations: 0.7609 MB / 0.9896 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2369, allocations: 0 / 0.9896 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.2371, allocations: 35.92 kB / 0.9897 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2371, allocations: 0 / 0.9897 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.2371, allocations: 15.92 kB / 0.9897 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2371, allocations: 3.953 kB / 0.9897 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2371, allocations: 0 / 0.9897 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.2376, allocations: 387.2 kB / 0.99 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.2377, allocations: 100.8 kB / 0.9901 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.2377, allocations: 8 kB / 0.9901 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.2379, allocations: 35.97 kB / 0.9902 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.2381, allocations: 47.88 kB / 0.9902 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.2381, allocations: 12 kB / 0.9902 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.88e-05/0.2382, allocations: 135.4 kB / 0.9904 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2382, allocations: 0 / 0.9904 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003003/0.2385, allocations: 71.77 kB / 0.9904 GB, free: 16.16 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.0001715/0.2387, allocations: 125.4 kB / 0.9906 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005489/0.2392, allocations: 335.2 kB / 0.9909 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2392, allocations: 320 / 0.9909 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.2395, allocations: 143.8 kB / 0.991 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.2398, allocations: 32.11 kB / 0.991 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007951/0.2406, allocations: 0.5233 MB / 0.9916 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.2409, allocations: 0.7564 MB / 0.9923 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.241, allocations: 34.27 kB / 0.9923 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.2411, allocations: 27.44 kB / 0.9924 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2411, allocations: 0 / 0.9924 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.006194/0.2473, allocations: 2.709 MB / 0.995 GB, free: 11.43 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)