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.656/2.656, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001415/0.001415, allocations: 182.3 kB / 371 MB, free: 10.89 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.167/2.167, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009606/0.0009603, allocations: 82.36 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001143, allocations: 11.95 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2694, allocations: 115.3 MB / 0.9784 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002572/0.272, allocations: 1.7 MB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2735, allocations: 0.6987 MB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.2738, allocations: 7.938 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.2739, allocations: 23.73 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.274, allocations: 27.77 kB / 0.9808 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.2745, allocations: 107.9 kB / 0.9809 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.275, allocations: 355.2 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.2753, allocations: 186.5 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.2755, allocations: 91.64 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.2757, allocations: 111.4 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.2757, allocations: 12 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.67e-05/0.2758, allocations: 27.98 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.2759, allocations: 55.75 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.276, allocations: 73.58 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.2764, allocations: 303.5 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2764, allocations: 0 / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2764, allocations: 0 / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.2764, allocations: 0 / 0.982 GB, free: 24.62 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.001063/0.2775, allocations: 0.5443 MB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2776, allocations: 15.95 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.583e-05/0.2777, allocations: 39.58 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.278, allocations: 270.5 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.2781, allocations: 28.64 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.2781, allocations: 36 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000892/0.279, allocations: 336.9 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/0.2791, allocations: 3.938 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.2792, allocations: 15.98 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.2792, allocations: 8 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008673/0.2801, allocations: 262.1 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.2819, allocations: 0.9474 MB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009112/0.2829, allocations: 271.1 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.2833, allocations: 128.8 kB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.2834, allocations: 4 kB / 0.9848 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/0.2839, allocations: 183.3 kB / 0.985 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.957e-06/0.2839, allocations: 7.938 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.001219/0.2852, allocations: 365.2 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.2852, allocations: 67.34 kB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.2855, allocations: 207.2 kB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.2855, allocations: 41.7 kB / 0.9857 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.785e-05/0.2856, allocations: 148.6 kB / 0.9858 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.635e-05/0.2857, allocations: 82.84 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.2858, allocations: 12 kB / 0.9859 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.308e-05/0.2858, allocations: 330.8 kB / 0.9862 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.2862, allocations: 116.8 kB / 0.9863 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.2867, allocations: 165.5 kB / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.2871, allocations: 137.6 kB / 0.9866 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2871, allocations: 0 / 0.9866 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001017/0.2882, allocations: 382.7 kB / 0.987 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.2882, allocations: 35.42 kB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2883, allocations: 0 / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2883, allocations: 4 kB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.2886, allocations: 47.91 kB / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.2886, allocations: 4 kB / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.2891, allocations: 63.62 kB / 0.9871 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.2891, allocations: 16 kB / 0.9871 GB, free: 19.09 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.0002353/0.2894, allocations: 178.8 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.2894, allocations: 27.72 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009216/0.2904, allocations: 298.4 kB / 0.9876 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.2904, allocations: 4 kB / 0.9876 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2904, allocations: 0 / 0.9876 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.006e-06/0.2904, allocations: 7.922 kB / 0.9876 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.292, allocations: 0.7686 MB / 0.9884 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2921, allocations: 4 kB / 0.9884 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.2923, allocations: 35.91 kB / 0.9884 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.2923, allocations: 0 / 0.9884 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.2924, allocations: 11.95 kB / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2924, allocations: 0 / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2924, allocations: 0 / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.2932, allocations: 383 kB / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.2933, allocations: 100.8 kB / 0.9889 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.2933, allocations: 19.92 kB / 0.9889 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.2937, allocations: 39.92 kB / 0.989 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.2939, allocations: 39.94 kB / 0.989 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.2939, allocations: 11.98 kB / 0.989 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001179/0.2941, allocations: 135.7 kB / 0.9891 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.02e-07/0.2941, allocations: 0 / 0.9891 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004424/0.2945, allocations: 67.84 kB / 0.9892 GB, free: 16.88 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.0001868/0.2947, allocations: 129.4 kB / 0.9893 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009786/0.2957, allocations: 331.8 kB / 0.9896 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2957, allocations: 0 / 0.9896 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.2962, allocations: 148.1 kB / 0.9898 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.2967, allocations: 37.83 kB / 0.9898 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.2979, allocations: 0.5115 MB / 0.9903 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.2981, allocations: 0.7603 MB / 0.9911 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002008/0.2983, allocations: 26.28 kB / 0.9911 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.2985, allocations: 31.42 kB / 0.9911 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.2985, allocations: 4 kB / 0.9911 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of Templates: time 0.008926/0.3074, allocations: 2.718 MB / 0.9938 GB, free: 12.15 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)