Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01023/0.01023, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2529/0.2529, allocations: 22.34 MB / 313.8 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003216, allocations: 11.98 kB / 382.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2775, allocations: 55.98 MB / 438.6 MB, free: 39.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising): time 0.00232/0.2798, allocations: 2.128 MB / 440.7 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009904/0.2808, allocations: 0.7468 MB / 441.5 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.281, allocations: 6.125 kB / 441.5 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.2814, allocations: 47.8 kB / 441.5 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.2816, allocations: 88.8 kB / 441.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.2819, allocations: 162.7 kB / 441.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.2823, allocations: 365.8 kB / 442.1 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.2825, allocations: 112.4 kB / 442.2 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.2826, allocations: 114.5 kB / 442.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.2828, allocations: 142 kB / 442.5 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.2829, allocations: 10.47 kB / 442.5 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-05/0.2829, allocations: 8.781 kB / 442.5 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.283, allocations: 58.02 kB / 442.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.93e-05/0.2831, allocations: 143.8 kB / 442.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.2833, allocations: 313.6 kB / 443 MB, free: 36.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2833, allocations: 0 / 443 MB, free: 36.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2834, allocations: 0 / 443 MB, free: 36.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2834, allocations: 0 / 443 MB, free: 36.59 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001101/0.2845, allocations: 0.6112 MB / 443.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2845, allocations: 13.16 kB / 443.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.2846, allocations: 33.06 kB / 443.6 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.2851, allocations: 337.4 kB / 444 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2851, allocations: 17.69 kB / 444 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.2852, allocations: 23.19 kB / 444 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.2856, allocations: 249.2 kB / 444.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.2856, allocations: 7.125 kB / 444.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.2857, allocations: 4 kB / 444.3 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.2857, allocations: 6.094 kB / 444.3 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.2861, allocations: 186.4 kB / 444.5 MB, free: 35.63 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: Cap.T(start = 293.15, confidence number = 7) * Candidate: Cap.port.T(start = 288.15, confidence number = 8) * Candidate: Gloss.port_b.T(start = 288.15, confidence number = 8) * Candidate: Pa1.port.T(start = 288.15, confidence number = 8) * Candidate: Pa2.port.T(start = 288.15, confidence number = 8) * Candidate: sT.port.T(start = 288.15, confidence number = 8) => Select value from Cap.T(start = 293.15) for variable: Cap.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.2873, allocations: 1.224 MB / 445.7 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.2877, allocations: 206.7 kB / 445.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.2878, allocations: 112 kB / 446 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.2879, allocations: 6.953 kB / 446 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2879, allocations: 34.88 kB / 446 MB, free: 34.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.2879, allocations: 0 / 446 MB, free: 34.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005833/0.2885, allocations: 302.5 kB / 446.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.2886, allocations: 79.8 kB / 446.4 MB, free: 34.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.289, allocations: 307.2 kB / 446.7 MB, free: 34.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.289, allocations: 32.73 kB / 446.7 MB, free: 34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.2891, allocations: 166 kB / 446.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.2891, allocations: 78.41 kB / 447 MB, free: 33.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.2892, allocations: 26.69 kB / 447 MB, free: 33.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.2893, allocations: 338.6 kB / 447.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.2894, allocations: 74.67 kB / 447.4 MB, free: 33.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.2896, allocations: 113.3 kB / 447.5 MB, free: 33.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.2912, allocations: 487.2 kB / 448 MB, free: 33.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2912, allocations: 0 / 448 MB, free: 33.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004235/0.2917, allocations: 269.9 kB / 448.3 MB, free: 33.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.2917, allocations: 102.2 kB / 448.4 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2917, allocations: 0 / 448.4 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2918, allocations: 6.875 kB / 448.4 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.292, allocations: 63.27 kB / 448.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.292, allocations: 0 / 448.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.2923, allocations: 43.3 kB / 448.5 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.2923, allocations: 11.38 kB / 448.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/0.2923, allocations: 7.531 kB / 448.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002624/0.2926, allocations: 175.5 kB / 448.7 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.2926, allocations: 0 / 448.7 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-06/0.2926, allocations: 6.875 kB / 448.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.2928, allocations: 45.36 kB / 448.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.2928, allocations: 2.781 kB / 448.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.2931, allocations: 36.33 kB / 448.7 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.2931, allocations: 4.844 kB / 448.8 MB, free: 32.88 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Cap.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002225/0.2933, allocations: 245.3 kB / 449 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.2934, allocations: 30.34 kB / 449 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.2939, allocations: 268.8 kB / 449.3 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2939, allocations: 2.906 kB / 449.3 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2939, allocations: 0 / 449.3 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2939, allocations: 2.75 kB / 449.3 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.2942, allocations: 344.2 kB / 449.6 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2942, allocations: 0 / 449.6 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.2945, allocations: 51.89 kB / 449.7 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2945, allocations: 0 / 449.7 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.2946, allocations: 2.688 kB / 449.7 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2946, allocations: 7 kB / 449.7 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2946, allocations: 3.938 kB / 449.7 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006051/0.2952, allocations: 454.7 kB / 450.1 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.2952, allocations: 107.7 kB / 450.2 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.2953, allocations: 6.719 kB / 450.2 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.2956, allocations: 31.31 kB / 450.3 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.2956, allocations: 10.06 kB / 450.3 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.2956, allocations: 5.531 kB / 450.3 MB, free: 31.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003386/0.296, allocations: 233.2 kB / 450.5 MB, free: 31.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.296, allocations: 0 / 450.5 MB, free: 31.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004455/0.2964, allocations: 105.9 kB / 450.6 MB, free: 31.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (FA1.x_scaled[1],Act2.y,Act1.y,Cap.T,CT.FO.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001465/0.2966, allocations: 115.1 kB / 450.7 MB, free: 31.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006056/0.2972, allocations: 300.4 kB / 451 MB, free: 31.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.2972, allocations: 0 / 451 MB, free: 31.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.2974, allocations: 104 kB / 451.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.2979, allocations: 69.98 kB / 451.2 MB, free: 31.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.2991, allocations: 0.8243 MB / 452 MB, free: 30.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.2993, allocations: 0.772 MB / 452.8 MB, free: 30.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.2995, allocations: 50.83 kB / 452.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.2996, allocations: 23.81 kB / 452.9 MB, free: 30.26 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2996, allocations: 0 / 452.9 MB, free: 30.26 MB / 350.1 MB Notification: Performance of Templates: time 0.006218/0.3058, allocations: 2.756 MB / 455.6 MB, free: 30.11 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.sim & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe 2>&1)