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.001198/0.001198, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001373/0.001373, allocations: 177.3 kB / 15.95 MB, free: 216 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.398/1.398, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2334/0.2334, allocations: 22.34 MB / 313.3 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003281, allocations: 8 kB / 381.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3055, allocations: 55.98 MB / 437.8 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising): time 0.002182/0.3077, allocations: 2.009 MB / 439.8 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3088, allocations: 0.727 MB / 440.6 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.3089, allocations: 6.719 kB / 440.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.3093, allocations: 44.38 kB / 440.6 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.3095, allocations: 97.58 kB / 440.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.3098, allocations: 134.7 kB / 440.8 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.3101, allocations: 245.1 kB / 441.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.3103, allocations: 99.19 kB / 441.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.3105, allocations: 117.1 kB / 441.3 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.3106, allocations: 134.2 kB / 441.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.3107, allocations: 9.781 kB / 441.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.488e-05/0.3107, allocations: 10.5 kB / 441.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.3108, allocations: 53.33 kB / 441.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.808e-05/0.3108, allocations: 72.95 kB / 441.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.311, allocations: 227.3 kB / 441.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.311, allocations: 0 / 441.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3111, allocations: 0 / 441.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3111, allocations: 0 / 441.8 MB, free: 36.68 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.001087/0.3122, allocations: 0.6188 MB / 442.4 MB, free: 36.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.3122, allocations: 10.06 kB / 442.4 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.3123, allocations: 34.66 kB / 442.4 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.3128, allocations: 326.3 kB / 442.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3128, allocations: 16.84 kB / 442.8 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.3128, allocations: 22.41 kB / 442.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.3132, allocations: 248.7 kB / 443 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3133, allocations: 7.891 kB / 443.1 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.3133, allocations: 6.688 kB / 443.1 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3133, allocations: 2.531 kB / 443.1 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.3136, allocations: 182 kB / 443.2 MB, free: 35.72 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.001197/0.3148, allocations: 1.225 MB / 444.5 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.3152, allocations: 214.1 kB / 444.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.3153, allocations: 6.906 kB / 444.7 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.3153, allocations: 38.12 kB / 444.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.3153, allocations: 0 / 444.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.000577/0.3159, allocations: 296 kB / 445 MB, free: 34.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3159, allocations: 79.98 kB / 445.1 MB, free: 34.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000407/0.3163, allocations: 297.9 kB / 445.4 MB, free: 34.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3164, allocations: 29.08 kB / 445.4 MB, free: 34.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3165, allocations: 179.4 kB / 445.6 MB, free: 33.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.3165, allocations: 79.08 kB / 445.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.3166, allocations: 7.938 kB / 445.7 MB, free: 33.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.3166, allocations: 336.6 kB / 446 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3168, allocations: 70.19 kB / 446.1 MB, free: 33.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.3169, allocations: 107 kB / 446.2 MB, free: 33.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.3171, allocations: 90.09 kB / 446.3 MB, free: 33.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3171, allocations: 3.094 kB / 446.3 MB, free: 33.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004074/0.3175, allocations: 268.5 kB / 446.5 MB, free: 33.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/0.3176, allocations: 183.8 kB / 446.7 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3176, allocations: 2.719 kB / 446.7 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3176, allocations: 0 / 446.7 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.3179, allocations: 52.83 kB / 446.8 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3179, allocations: 10.72 kB / 446.8 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.3182, allocations: 45.58 kB / 446.8 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3182, allocations: 5.188 kB / 446.8 MB, free: 33.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.252e-06/0.3182, allocations: 2.906 kB / 446.8 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002598/0.3185, allocations: 180.1 kB / 447 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-06/0.3185, allocations: 2.938 kB / 447 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-06/0.3185, allocations: 4.031 kB / 447 MB, free: 33.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.3187, allocations: 47 kB / 447 MB, free: 33.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3187, allocations: 5.828 kB / 447 MB, free: 33.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.3189, allocations: 30.84 kB / 447.1 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.319, allocations: 9.719 kB / 447.1 MB, free: 33.05 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.0002422/0.3192, allocations: 247.4 kB / 447.3 MB, free: 32.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.3193, allocations: 27.02 kB / 447.4 MB, free: 32.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004786/0.3197, allocations: 278.2 kB / 447.6 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3198, allocations: 6.938 kB / 447.6 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3198, allocations: 0 / 447.6 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3198, allocations: 6.219 kB / 447.6 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.3201, allocations: 346.8 kB / 448 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3201, allocations: 0 / 448 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.3204, allocations: 52.7 kB / 448 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3204, allocations: 6.141 kB / 448 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.3204, allocations: 4 kB / 448 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.3204, allocations: 2.906 kB / 448 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3204, allocations: 3.938 kB / 448 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.321, allocations: 442.3 kB / 448.5 MB, free: 32.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.321, allocations: 112 kB / 448.6 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.3211, allocations: 10.83 kB / 448.6 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.3213, allocations: 35.58 kB / 448.6 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.3214, allocations: 9.531 kB / 448.6 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3214, allocations: 9.141 kB / 448.7 MB, free: 32.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003354/0.3217, allocations: 221.2 kB / 448.9 MB, free: 31.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3218, allocations: 0 / 448.9 MB, free: 31.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.3222, allocations: 105.3 kB / 449 MB, free: 31.89 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 0.0001178/0.3223, allocations: 118 kB / 449.1 MB, free: 31.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005226/0.3228, allocations: 306.4 kB / 449.4 MB, free: 31.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3228, allocations: 0 / 449.4 MB, free: 31.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.323, allocations: 103.6 kB / 449.5 MB, free: 31.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.3234, allocations: 55.06 kB / 449.5 MB, free: 31.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.325, allocations: 0.7893 MB / 450.3 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.3255, allocations: 0.7872 MB / 451.1 MB, free: 30.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.3257, allocations: 47.05 kB / 451.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.231e-05/0.3257, allocations: 24.52 kB / 451.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3257, allocations: 0 / 451.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of Templates: time 0.005856/0.3316, allocations: 2.644 MB / 453.8 MB, free: 30.31 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: