Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.764/1.764, allocations: 287.4 MB / 303.2 MB, free: 8.332 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.0009252/0.0009251, allocations: 177.9 kB / 371.8 MB, free: 10.81 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.288/1.288, allocations: 205.4 MB / 0.6305 GB, free: 10.52 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.0006981/0.0006981, allocations: 83.77 kB / 0.7438 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 10.75 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1958, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.001881/0.1978, allocations: 1.692 MB / 0.9809 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1988, allocations: 0.7103 MB / 0.9816 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.199, allocations: 7.938 kB / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.1991, allocations: 23.8 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.135e-05/0.1992, allocations: 19.78 kB / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.1996, allocations: 115.8 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.2, allocations: 343.3 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.2002, allocations: 204 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.2004, allocations: 99.62 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.2005, allocations: 115.4 kB / 0.9825 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.2005, allocations: 12 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.961e-05/0.2006, allocations: 20 kB / 0.9826 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.2007, allocations: 43.83 kB / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.2007, allocations: 77.52 kB / 0.9827 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.201, allocations: 307.2 kB / 0.983 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.201, allocations: 3.984 kB / 0.983 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.734e-06/0.201, allocations: 0 / 0.983 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.201, allocations: 0 / 0.983 GB, free: 24.37 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.0007504/0.2018, allocations: 0.5482 MB / 0.9835 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2018, allocations: 12.03 kB / 0.9835 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.2019, allocations: 32.56 kB / 0.9835 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.2021, allocations: 263.8 kB / 0.9838 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.2022, allocations: 33.02 kB / 0.9838 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.2022, allocations: 40.36 kB / 0.9839 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.2027, allocations: 337.2 kB / 0.9842 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2028, allocations: 0 / 0.9842 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.2028, allocations: 12 kB / 0.9842 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2028, allocations: 4 kB / 0.9842 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005093/0.2033, allocations: 270 kB / 0.9845 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.2045, allocations: 0.9552 MB / 0.9854 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.2051, allocations: 281.1 kB / 0.9857 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.2053, allocations: 128.8 kB / 0.9858 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.2053, allocations: 4 kB / 0.9858 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003553/0.2057, allocations: 195.2 kB / 0.986 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.2057, allocations: 0 / 0.986 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.0007243/0.2064, allocations: 365.2 kB / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.2065, allocations: 59.41 kB / 0.9864 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.2066, allocations: 199.3 kB / 0.9866 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.2066, allocations: 49.69 kB / 0.9866 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.2067, allocations: 144.6 kB / 0.9868 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.2068, allocations: 86.84 kB / 0.9868 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.2068, allocations: 4 kB / 0.9868 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.2069, allocations: 346.8 kB / 0.9872 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.2071, allocations: 108.8 kB / 0.9873 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.2074, allocations: 165.5 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.2078, allocations: 270.7 kB / 0.9877 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2078, allocations: 0 / 0.9877 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005961/0.2084, allocations: 378.7 kB / 0.9881 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.2085, allocations: 33.7 kB / 0.9881 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2085, allocations: 0 / 0.9881 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2085, allocations: 11.92 kB / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.2087, allocations: 47.91 kB / 0.9881 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.2087, allocations: 0 / 0.9881 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.209, allocations: 63.69 kB / 0.9882 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.209, allocations: 12 kB / 0.9882 GB, free: 18.7 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.0001399/0.2091, allocations: 173.7 kB / 0.9884 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.2092, allocations: 23.72 kB / 0.9884 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005749/0.2098, allocations: 307.5 kB / 0.9887 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2098, allocations: 3.984 kB / 0.9887 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2098, allocations: 0 / 0.9887 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.2098, allocations: 96.86 kB / 0.9888 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.2099, allocations: 8 kB / 0.9888 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.2101, allocations: 47.89 kB / 0.9888 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.95e-05/0.2102, allocations: 39.94 kB / 0.9889 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006927/0.2109, allocations: 408.9 kB / 0.9893 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005101/0.2114, allocations: 454.3 kB / 0.9897 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002214/0.2116, allocations: 136.5 kB / 0.9898 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.919e-05/0.2117, allocations: 139.1 kB / 0.99 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of Backend: time 1.342e-06/0.2117, allocations: 0 / 0.99 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006962/0.2124, allocations: 337.5 kB / 0.9903 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007575/0.2132, allocations: 0.8925 MB / 0.9912 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.005704/0.2189, allocations: 2.956 MB / 0.994 GB, free: 12.62 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)