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 2.82/2.82, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.002238/0.002238, allocations: 165.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.243/2.243, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001144/0.001144, allocations: 88.94 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004818, allocations: 15.45 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2689, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00354/0.2726, allocations: 1.704 MB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.2747, allocations: 0.7027 MB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.2751, allocations: 7.938 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.2753, allocations: 27.77 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.2755, allocations: 31.89 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.2761, allocations: 107.8 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005039/0.2767, allocations: 223.6 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.2772, allocations: 190.5 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.2774, allocations: 99.62 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.2777, allocations: 111.4 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.2777, allocations: 12 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.2779, allocations: 16 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.961e-05/0.278, allocations: 51.83 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.873e-05/0.2781, allocations: 77.52 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.2787, allocations: 311.5 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2787, allocations: 0 / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.474e-06/0.2787, allocations: 0 / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.2787, allocations: 0 / 0.9817 GB, free: 24.73 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.001501/0.2802, allocations: 0.5442 MB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.2803, allocations: 16.02 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.2805, allocations: 35.58 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/0.281, allocations: 269.2 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/0.2811, allocations: 28.66 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.2812, allocations: 36 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.2825, allocations: 332.8 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.2826, allocations: 0 / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/0.2827, allocations: 12 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.2827, allocations: 8 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.284, allocations: 266 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.2867, allocations: 0.9552 MB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.2882, allocations: 271.1 kB / 0.9844 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.2882, allocations: 4 kB / 0.9844 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008186/0.2891, allocations: 183.3 kB / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 4.579e-06/0.2891, allocations: 0 / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.001809/0.2909, allocations: 369.2 kB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.291, allocations: 63.39 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.2914, allocations: 207.2 kB / 0.9852 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.818e-05/0.2915, allocations: 45.69 kB / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.2916, allocations: 152.6 kB / 0.9854 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.2918, allocations: 78.86 kB / 0.9855 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.2918, allocations: 4 kB / 0.9855 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2919, allocations: 342.8 kB / 0.9858 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/0.2926, allocations: 116.8 kB / 0.9859 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006709/0.2933, allocations: 165.5 kB / 0.9861 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.2939, allocations: 133.7 kB / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.2939, allocations: 0 / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001525/0.2954, allocations: 382.6 kB / 0.9866 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/0.2955, allocations: 31.58 kB / 0.9866 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2956, allocations: 7.938 kB / 0.9866 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.2956, allocations: 0 / 0.9866 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.2961, allocations: 52.06 kB / 0.9867 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.2961, allocations: 4 kB / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006222/0.2967, allocations: 63.59 kB / 0.9867 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/0.2968, allocations: 12 kB / 0.9867 GB, free: 19.34 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.0003748/0.2972, allocations: 182.8 kB / 0.9869 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.2973, allocations: 19.72 kB / 0.9869 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.2987, allocations: 306.3 kB / 0.9872 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.2987, allocations: 4 kB / 0.9872 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2988, allocations: 0 / 0.9872 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.2988, allocations: 3.984 kB / 0.9872 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.3012, allocations: 0.7608 MB / 0.988 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.3012, allocations: 4 kB / 0.988 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.3016, allocations: 35.91 kB / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.3016, allocations: 4 kB / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.3017, allocations: 4 kB / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.3017, allocations: 3.953 kB / 0.988 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3017, allocations: 8 kB / 0.988 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.303, allocations: 375.1 kB / 0.9884 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.3031, allocations: 96.77 kB / 0.9885 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-05/0.3032, allocations: 11.98 kB / 0.9885 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005761/0.3038, allocations: 43.91 kB / 0.9885 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.304, allocations: 47.89 kB / 0.9886 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.3041, allocations: 8 kB / 0.9886 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001839/0.3043, allocations: 139.7 kB / 0.9887 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.72e-07/0.3043, allocations: 0 / 0.9887 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008013/0.3051, allocations: 67.84 kB / 0.9888 GB, free: 17.14 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.0002764/0.3054, allocations: 129.4 kB / 0.9889 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.3069, allocations: 343.8 kB / 0.9892 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3069, allocations: 0 / 0.9892 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006533/0.3076, allocations: 143.8 kB / 0.9894 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.3082, allocations: 32.36 kB / 0.9894 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.3099, allocations: 0.5043 MB / 0.9899 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.3103, allocations: 0.7642 MB / 0.9906 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.3106, allocations: 34.28 kB / 0.9907 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.3108, allocations: 27.42 kB / 0.9907 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of SimCode: time 1.312e-06/0.3108, allocations: 0 / 0.9907 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.01259/0.3234, allocations: 2.711 MB / 0.9933 GB, free: 12.41 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)