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.001004/0.001004, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 183.5 kB / 16.92 MB, free: 6.922 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.324/1.324, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2001/0.2001, allocations: 22.34 MB / 314.4 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003211, allocations: 16 kB / 383.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2493, allocations: 55.97 MB / 439.2 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising): time 0.001961/0.2513, allocations: 2.123 MB / 441.4 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009454/0.2523, allocations: 0.7453 MB / 442.1 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.2524, allocations: 6.938 kB / 442.1 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.2527, allocations: 48.12 kB / 442.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.2529, allocations: 89.45 kB / 442.3 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.2532, allocations: 157.1 kB / 442.4 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.2535, allocations: 371 kB / 442.8 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.2537, allocations: 106.8 kB / 442.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.2538, allocations: 117 kB / 443 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.254, allocations: 142.7 kB / 443.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.254, allocations: 8.969 kB / 443.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.144e-05/0.254, allocations: 12.62 kB / 443.2 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.453e-05/0.2541, allocations: 58.42 kB / 443.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.2542, allocations: 150.2 kB / 443.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.2544, allocations: 234.6 kB / 443.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2544, allocations: 0 / 443.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2544, allocations: 2.938 kB / 443.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2544, allocations: 0 / 443.6 MB, free: 36.61 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.001012/0.2554, allocations: 0.6108 MB / 444.2 MB, free: 36.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.2555, allocations: 14.78 kB / 444.2 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.2555, allocations: 33.28 kB / 444.2 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.256, allocations: 340.6 kB / 444.6 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.256, allocations: 16.94 kB / 444.6 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.2561, allocations: 18.19 kB / 444.6 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.2564, allocations: 256.8 kB / 444.9 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2565, allocations: 2.906 kB / 444.9 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.2565, allocations: 8 kB / 444.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.2565, allocations: 5.438 kB / 444.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.2569, allocations: 183.7 kB / 445.1 MB, free: 35.64 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.001118/0.258, allocations: 1.228 MB / 446.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.2583, allocations: 213.6 kB / 446.5 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.2585, allocations: 101.7 kB / 446.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.2585, allocations: 6.969 kB / 446.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.2586, allocations: 37.97 kB / 446.6 MB, free: 34.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.2586, allocations: 0 / 446.6 MB, free: 34.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005584/0.2591, allocations: 295.5 kB / 446.9 MB, free: 34.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.2592, allocations: 84.08 kB / 447 MB, free: 34.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/0.2596, allocations: 305.5 kB / 447.3 MB, free: 34.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.2596, allocations: 29.64 kB / 447.3 MB, free: 34.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.2597, allocations: 168.2 kB / 447.5 MB, free: 33.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.2598, allocations: 86.03 kB / 447.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.2598, allocations: 29.38 kB / 447.6 MB, free: 33.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.351e-05/0.2599, allocations: 335.3 kB / 447.9 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.26, allocations: 70.84 kB / 448 MB, free: 33.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.2602, allocations: 114.1 kB / 448.1 MB, free: 33.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.2619, allocations: 479.5 kB / 448.6 MB, free: 33.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2619, allocations: 4 kB / 448.6 MB, free: 33.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004118/0.2623, allocations: 270.2 kB / 448.9 MB, free: 33.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.2623, allocations: 99.48 kB / 449 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2624, allocations: 4.031 kB / 449 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2624, allocations: 3.938 kB / 449 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.2626, allocations: 55.14 kB / 449 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2626, allocations: 2.812 kB / 449 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.2629, allocations: 37.75 kB / 449.1 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.2629, allocations: 17.31 kB / 449.1 MB, free: 32.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/0.2629, allocations: 5.188 kB / 449.1 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002571/0.2632, allocations: 180.6 kB / 449.3 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-06/0.2632, allocations: 0 / 449.3 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-06/0.2632, allocations: 3.281 kB / 449.3 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.2634, allocations: 46.34 kB / 449.3 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.2634, allocations: 0 / 449.3 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.2637, allocations: 41.44 kB / 449.3 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2637, allocations: 7.188 kB / 449.3 MB, free: 32.89 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.0001975/0.2639, allocations: 251.4 kB / 449.6 MB, free: 32.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.2639, allocations: 31.69 kB / 449.6 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.2644, allocations: 265.3 kB / 449.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2644, allocations: 7.125 kB / 449.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2644, allocations: 4 kB / 449.9 MB, free: 32.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2644, allocations: 0 / 449.9 MB, free: 32.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.2647, allocations: 348.7 kB / 450.2 MB, free: 32.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2648, allocations: 0 / 450.2 MB, free: 32.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.265, allocations: 47.41 kB / 450.3 MB, free: 32.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.265, allocations: 2.625 kB / 450.3 MB, free: 32.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.2651, allocations: 6.656 kB / 450.3 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2651, allocations: 0 / 450.3 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2651, allocations: 0 / 450.3 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.2656, allocations: 455.3 kB / 450.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.2657, allocations: 112.1 kB / 450.8 MB, free: 31.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.2657, allocations: 6.719 kB / 450.9 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.266, allocations: 27.91 kB / 450.9 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.2661, allocations: 16.81 kB / 450.9 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.2661, allocations: 9.375 kB / 450.9 MB, free: 31.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003218/0.2664, allocations: 231.1 kB / 451.1 MB, free: 31.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2664, allocations: 0 / 451.1 MB, free: 31.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.2668, allocations: 108.6 kB / 451.2 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 8.048e-05/0.2669, allocations: 103.5 kB / 451.3 MB, free: 31.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000497/0.2674, allocations: 304.1 kB / 451.6 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2674, allocations: 0 / 451.6 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.2676, allocations: 98.53 kB / 451.7 MB, free: 31.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.268, allocations: 66.09 kB / 451.8 MB, free: 31.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.2691, allocations: 0.8618 MB / 452.7 MB, free: 30.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.2693, allocations: 0.7706 MB / 453.4 MB, free: 30.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.2694, allocations: 28.09 kB / 453.5 MB, free: 30.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2694, allocations: 0 / 453.5 MB, free: 30.25 MB / 350.1 MB Notification: Performance of Templates: time 0.004412/0.2738, allocations: 3.359 MB / 456.8 MB, free: 29.98 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)