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.0009099/0.0009136, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009422/0.0009421, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1923/0.1923, allocations: 22.34 MB / 313.4 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002665, allocations: 11.98 kB / 381.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2297, allocations: 55.97 MB / 437.9 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.001644/0.2313, allocations: 2.052 MB / 440 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008039/0.2321, allocations: 0.7204 MB / 440.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2323, allocations: 9.531 kB / 440.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.2325, allocations: 48.75 kB / 440.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.2327, allocations: 83.05 kB / 440.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.233, allocations: 141.5 kB / 441 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.2333, allocations: 339.4 kB / 441.3 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.2334, allocations: 97.31 kB / 441.4 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.2336, allocations: 116.7 kB / 441.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.2337, allocations: 134.5 kB / 441.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.2338, allocations: 12.03 kB / 441.7 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.066e-05/0.2338, allocations: 11.75 kB / 441.7 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.2339, allocations: 57.77 kB / 441.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.2339, allocations: 67.55 kB / 441.8 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.2341, allocations: 232.1 kB / 442 MB, free: 36.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2341, allocations: 3.938 kB / 442 MB, free: 36.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2341, allocations: 0 / 442 MB, free: 36.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2341, allocations: 3.938 kB / 442 MB, free: 36.84 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.0009192/0.235, allocations: 0.6185 MB / 442.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.235, allocations: 9.188 kB / 442.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.2351, allocations: 32 kB / 442.7 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.2355, allocations: 328.7 kB / 443 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.2355, allocations: 19.16 kB / 443 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.2356, allocations: 21.91 kB / 443 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.2359, allocations: 240.3 kB / 443.3 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.236, allocations: 3.953 kB / 443.3 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.236, allocations: 15 kB / 443.3 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.236, allocations: 5.969 kB / 443.3 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.2363, allocations: 177.6 kB / 443.5 MB, free: 35.88 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.0009995/0.2373, allocations: 1.233 MB / 444.7 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.2376, allocations: 215.4 kB / 444.9 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2378, allocations: 105.2 kB / 445 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.2378, allocations: 11.11 kB / 445 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.2378, allocations: 34.75 kB / 445.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.2378, allocations: 3.438 kB / 445.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004957/0.2383, allocations: 300.5 kB / 445.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.2384, allocations: 87.8 kB / 445.4 MB, free: 34.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.2387, allocations: 298 kB / 445.7 MB, free: 34.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.2388, allocations: 29.7 kB / 445.8 MB, free: 34.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.2388, allocations: 168.7 kB / 445.9 MB, free: 34.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.2389, allocations: 74.52 kB / 446 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.2389, allocations: 11.03 kB / 446 MB, free: 34.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.2389, allocations: 342.8 kB / 446.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.2391, allocations: 72.19 kB / 446.4 MB, free: 33.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.2392, allocations: 106.1 kB / 446.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.2394, allocations: 95.44 kB / 446.6 MB, free: 33.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2394, allocations: 0 / 446.6 MB, free: 33.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003584/0.2398, allocations: 262 kB / 446.9 MB, free: 33.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.2398, allocations: 107.7 kB / 447 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2398, allocations: 0 / 447 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.2398, allocations: 3.031 kB / 447 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.2401, allocations: 51.41 kB / 447 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2401, allocations: 0 / 447 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.2403, allocations: 45.02 kB / 447.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.2403, allocations: 5.875 kB / 447.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.51e-06/0.2403, allocations: 10.02 kB / 447.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002431/0.2406, allocations: 188.3 kB / 447.3 MB, free: 33.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-06/0.2406, allocations: 0 / 447.3 MB, free: 33.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-06/0.2406, allocations: 0 / 447.3 MB, free: 33.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.2408, allocations: 49.55 kB / 447.3 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.2408, allocations: 3.281 kB / 447.3 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.241, allocations: 39.94 kB / 447.4 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.241, allocations: 6.781 kB / 447.4 MB, free: 33.23 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: 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 Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.2412, allocations: 236.5 kB / 447.6 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.2412, allocations: 27.36 kB / 447.6 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.2417, allocations: 272.3 kB / 447.9 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2417, allocations: 2.906 kB / 447.9 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2417, allocations: 2.75 kB / 447.9 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2417, allocations: 3.422 kB / 447.9 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.242, allocations: 344.7 kB / 448.2 MB, free: 32.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.242, allocations: 0 / 448.2 MB, free: 32.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.2422, allocations: 51.69 kB / 448.3 MB, free: 32.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2423, allocations: 0 / 448.3 MB, free: 32.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.2423, allocations: 14.23 kB / 448.3 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2423, allocations: 7.969 kB / 448.3 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2423, allocations: 0 / 448.3 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.2428, allocations: 447.2 kB / 448.8 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.2429, allocations: 107.8 kB / 448.9 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.2429, allocations: 6.812 kB / 448.9 MB, free: 32.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.2431, allocations: 34.33 kB / 448.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.2432, allocations: 8.75 kB / 448.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.2432, allocations: 12.45 kB / 448.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002804/0.2435, allocations: 224.9 kB / 449.1 MB, free: 32.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2435, allocations: 0 / 449.1 MB, free: 32.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003644/0.2439, allocations: 102.7 kB / 449.2 MB, free: 32.09 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 (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 7.573e-05/0.2439, allocations: 108.5 kB / 449.3 MB, free: 32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004638/0.2444, allocations: 307.9 kB / 449.6 MB, free: 31.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2444, allocations: 0 / 449.6 MB, free: 31.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.2446, allocations: 105.6 kB / 449.7 MB, free: 31.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.245, allocations: 66.53 kB / 449.8 MB, free: 31.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.246, allocations: 0.8002 MB / 450.6 MB, free: 31.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.2462, allocations: 0.7782 MB / 451.4 MB, free: 30.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.2464, allocations: 45.02 kB / 451.4 MB, free: 30.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.2464, allocations: 27.06 kB / 451.5 MB, free: 30.64 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2464, allocations: 0 / 451.5 MB, free: 30.64 MB / 350.1 MB Notification: Performance of Templates: time 0.004763/0.2512, allocations: 2.658 MB / 454.1 MB, free: 30.49 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)