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.0007807/0.0007803, 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.00516/0.00516, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2648/0.2648, allocations: 22.35 MB / 313.8 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003616, allocations: 8 kB / 382.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3424, allocations: 55.97 MB / 438.6 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising): time 0.002407/0.3448, allocations: 2.135 MB / 440.7 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3459, allocations: 0.7425 MB / 441.4 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.3461, allocations: 5.656 kB / 441.5 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.3464, allocations: 49.09 kB / 441.5 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.3467, allocations: 88.02 kB / 441.6 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.347, allocations: 158.9 kB / 441.7 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.3473, allocations: 376 kB / 442.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.3475, allocations: 111.1 kB / 442.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.3476, allocations: 115.4 kB / 442.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.3478, allocations: 134.7 kB / 442.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.3478, allocations: 11.88 kB / 442.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.352e-05/0.3479, allocations: 9.031 kB / 442.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.348, allocations: 61.78 kB / 442.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.3481, allocations: 147 kB / 442.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.3483, allocations: 307.1 kB / 443 MB, free: 36.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3483, allocations: 0 / 443 MB, free: 36.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3483, allocations: 0 / 443 MB, free: 36.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3483, allocations: 0 / 443 MB, free: 36.51 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.001105/0.3494, allocations: 0.6131 MB / 443.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3495, allocations: 12.5 kB / 443.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.3495, allocations: 33.91 kB / 443.6 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.35, allocations: 334.1 kB / 444 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3501, allocations: 17.22 kB / 444 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.3501, allocations: 27.03 kB / 444 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.3505, allocations: 249.5 kB / 444.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.3506, allocations: 0 / 444.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.3506, allocations: 14.73 kB / 444.3 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3506, allocations: 3.188 kB / 444.3 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.351, allocations: 178.9 kB / 444.5 MB, free: 35.55 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.001196/0.3522, allocations: 1.225 MB / 445.7 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.3526, allocations: 218.8 kB / 445.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.3527, allocations: 102.9 kB / 446 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.3528, allocations: 3 kB / 446 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3528, allocations: 37.31 kB / 446 MB, free: 34.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.3528, allocations: 4 kB / 446 MB, free: 34.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006382/0.3535, allocations: 301.4 kB / 446.3 MB, free: 34.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.3535, allocations: 83.25 kB / 446.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/0.3539, allocations: 304.7 kB / 446.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.354, allocations: 32.17 kB / 446.7 MB, free: 33.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.3541, allocations: 164.2 kB / 446.9 MB, free: 33.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.3541, allocations: 81.45 kB / 447 MB, free: 33.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.3542, allocations: 25.58 kB / 447 MB, free: 33.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.3542, allocations: 336.3 kB / 447.3 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.3544, allocations: 78.98 kB / 447.4 MB, free: 33.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.3546, allocations: 109.6 kB / 447.5 MB, free: 33.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.3564, allocations: 489.3 kB / 448 MB, free: 33.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3564, allocations: 0 / 448 MB, free: 33.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004339/0.3569, allocations: 268.5 kB / 448.3 MB, free: 33.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.3569, allocations: 108.6 kB / 448.4 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3569, allocations: 4 kB / 448.4 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.357, allocations: 6.625 kB / 448.4 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.3572, allocations: 51.25 kB / 448.4 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3573, allocations: 3.344 kB / 448.4 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.3575, allocations: 44.03 kB / 448.5 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.3576, allocations: 5.812 kB / 448.5 MB, free: 32.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.292e-06/0.3576, allocations: 6.031 kB / 448.5 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002746/0.3579, allocations: 178.8 kB / 448.7 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.3579, allocations: 6.281 kB / 448.7 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-06/0.3579, allocations: 3.656 kB / 448.7 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.3581, allocations: 46.58 kB / 448.7 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.3581, allocations: 0 / 448.7 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.3583, allocations: 32.94 kB / 448.7 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3584, allocations: 6 kB / 448.7 MB, free: 32.79 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.0002281/0.3586, allocations: 252.2 kB / 449 MB, free: 32.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.3586, allocations: 27.47 kB / 449 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000514/0.3592, allocations: 269.8 kB / 449.3 MB, free: 32.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3592, allocations: 2.062 kB / 449.3 MB, free: 32.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3592, allocations: 0 / 449.3 MB, free: 32.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3592, allocations: 0 / 449.3 MB, free: 32.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.3595, allocations: 343.6 kB / 449.6 MB, free: 32.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3596, allocations: 3.938 kB / 449.6 MB, free: 32.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.3598, allocations: 52.12 kB / 449.7 MB, free: 32.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3599, allocations: 1.375 kB / 449.7 MB, free: 32.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.3599, allocations: 9.656 kB / 449.7 MB, free: 32.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3599, allocations: 1.625 kB / 449.7 MB, free: 32.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3599, allocations: 0 / 449.7 MB, free: 32.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.3605, allocations: 453.1 kB / 450.1 MB, free: 31.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.3606, allocations: 109.8 kB / 450.2 MB, free: 31.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.3606, allocations: 7.344 kB / 450.2 MB, free: 31.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.3609, allocations: 31.28 kB / 450.3 MB, free: 31.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.361, allocations: 16.59 kB / 450.3 MB, free: 31.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.361, allocations: 9.844 kB / 450.3 MB, free: 31.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003529/0.3613, allocations: 225.9 kB / 450.5 MB, free: 31.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3614, allocations: 0 / 450.5 MB, free: 31.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004131/0.3618, allocations: 108.6 kB / 450.6 MB, free: 31.64 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.0001169/0.3619, allocations: 111 kB / 450.7 MB, free: 31.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005516/0.3625, allocations: 298.8 kB / 451 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3625, allocations: 8.062 kB / 451 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.3626, allocations: 103.9 kB / 451.1 MB, free: 31.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.3632, allocations: 63.55 kB / 451.2 MB, free: 31.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.3644, allocations: 0.8163 MB / 452 MB, free: 30.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.3645, allocations: 0.7767 MB / 452.8 MB, free: 30.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.3647, allocations: 45.47 kB / 452.8 MB, free: 30.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.3648, allocations: 25.11 kB / 452.9 MB, free: 30.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3648, allocations: 3.938 kB / 452.9 MB, free: 30.18 MB / 350.1 MB Notification: Performance of Templates: time 0.005474/0.3703, allocations: 2.752 MB / 455.6 MB, free: 30.02 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)