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: "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_equalising",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_equalising",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009171/0.0009171, allocations: 92.08 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.0009552/0.0009551, 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.364/1.364, allocations: 223.2 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2492/0.2492, allocations: 22.35 MB / 313.4 MB, free: 13.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003555, allocations: 12 kB / 382.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2869, allocations: 55.99 MB / 438 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.001855/0.2888, allocations: 2.053 MB / 440.1 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008856/0.2897, allocations: 0.7192 MB / 440.8 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.2898, allocations: 5.75 kB / 440.8 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.2901, allocations: 46.73 kB / 440.9 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.2903, allocations: 85.55 kB / 440.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.2906, allocations: 136.7 kB / 441.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.2909, allocations: 344.5 kB / 441.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.291, allocations: 91.03 kB / 441.5 MB, free: 37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.2912, allocations: 115.5 kB / 441.6 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.2913, allocations: 137 kB / 441.7 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.2914, allocations: 11.84 kB / 441.8 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.116e-05/0.2914, allocations: 11.97 kB / 441.8 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.2915, allocations: 54.38 kB / 441.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.2915, allocations: 72 kB / 441.9 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.2917, allocations: 233.8 kB / 442.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2917, allocations: 0 / 442.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2917, allocations: 0 / 442.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.2917, allocations: 0 / 442.1 MB, free: 36.76 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.0009719/0.2927, allocations: 0.617 MB / 442.7 MB, free: 36.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.2927, allocations: 8.938 kB / 442.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.2928, allocations: 51.91 kB / 442.8 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.2928, allocations: 33.19 kB / 442.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.2933, allocations: 341.8 kB / 443.2 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.2933, allocations: 15.97 kB / 443.2 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.2933, allocations: 19.44 kB / 443.2 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.2937, allocations: 247.8 kB / 443.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2937, allocations: 4 kB / 443.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.2938, allocations: 10.78 kB / 443.5 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2938, allocations: 5.469 kB / 443.5 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.2941, allocations: 179.3 kB / 443.6 MB, free: 35.75 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.001084/0.2952, allocations: 1.229 MB / 444.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.2955, allocations: 210 kB / 445.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.2957, allocations: 112.2 kB / 445.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.2957, allocations: 8.031 kB / 445.2 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.2958, allocations: 34.75 kB / 445.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.323e-06/0.2958, allocations: 0 / 445.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.000515/0.2963, allocations: 303.5 kB / 445.5 MB, free: 34.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.2963, allocations: 79.98 kB / 445.6 MB, free: 34.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.2967, allocations: 301.8 kB / 445.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.2967, allocations: 29.7 kB / 445.9 MB, free: 34.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.2968, allocations: 168.8 kB / 446.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.2968, allocations: 78.69 kB / 446.2 MB, free: 33.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.2969, allocations: 4 kB / 446.2 MB, free: 33.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.298e-05/0.2969, allocations: 342 kB / 446.5 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2971, allocations: 73.98 kB / 446.6 MB, free: 33.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.2972, allocations: 107.2 kB / 446.7 MB, free: 33.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.2974, allocations: 92.73 kB / 446.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2974, allocations: 0 / 446.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003745/0.2978, allocations: 261.9 kB / 447 MB, free: 33.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.033e-05/0.2978, allocations: 104 kB / 447.1 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2978, allocations: 3.422 kB / 447.1 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2979, allocations: 3 kB / 447.1 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.2981, allocations: 54.27 kB / 447.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2981, allocations: 2.906 kB / 447.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.2983, allocations: 42.19 kB / 447.2 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.2984, allocations: 13.39 kB / 447.2 MB, free: 33.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.709e-06/0.2984, allocations: 6.688 kB / 447.2 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002486/0.2986, allocations: 182 kB / 447.4 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.2987, allocations: 4.031 kB / 447.4 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-06/0.2987, allocations: 2.969 kB / 447.4 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.2989, allocations: 44.5 kB / 447.5 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.2989, allocations: 2.531 kB / 447.5 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.2991, allocations: 34.25 kB / 447.5 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.2991, allocations: 9.875 kB / 447.5 MB, free: 33.11 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.0002045/0.2993, allocations: 246.9 kB / 447.8 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.2993, allocations: 27.42 kB / 447.8 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/0.2998, allocations: 271.1 kB / 448.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2998, allocations: 2.844 kB / 448.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2998, allocations: 0 / 448.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2998, allocations: 0 / 448.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.3001, allocations: 350.2 kB / 448.4 MB, free: 32.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3001, allocations: 0 / 448.4 MB, free: 32.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.3004, allocations: 54.38 kB / 448.5 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3004, allocations: 3.953 kB / 448.5 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.3004, allocations: 10.2 kB / 448.5 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3005, allocations: 0 / 448.5 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3005, allocations: 2.625 kB / 448.5 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/0.301, allocations: 443.3 kB / 448.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.3011, allocations: 116.8 kB / 449 MB, free: 32.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.3011, allocations: 10.8 kB / 449 MB, free: 32.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.3013, allocations: 33.47 kB / 449.1 MB, free: 32.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.3014, allocations: 16.72 kB / 449.1 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3014, allocations: 3.031 kB / 449.1 MB, free: 32.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002896/0.3017, allocations: 225.2 kB / 449.3 MB, free: 31.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3017, allocations: 0 / 449.3 MB, free: 31.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.3021, allocations: 108.4 kB / 449.4 MB, free: 31.95 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.0006882/0.3028, allocations: 0.9913 MB / 450.4 MB, free: 31.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.3033, allocations: 302.1 kB / 450.7 MB, free: 31.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3033, allocations: 0 / 450.7 MB, free: 31.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3034, allocations: 108 kB / 450.8 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.3039, allocations: 62.23 kB / 450.9 MB, free: 31.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.3069, allocations: 1.907 MB / 452.8 MB, free: 30.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.3071, allocations: 0.7787 MB / 453.5 MB, free: 29.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.3073, allocations: 45.98 kB / 453.6 MB, free: 29.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.3075, allocations: 91.53 kB / 453.7 MB, free: 29.26 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3075, allocations: 4 kB / 453.7 MB, free: 29.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.3242, allocations: 5.325 MB / 459 MB, free: 28.94 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.3244, allocations: 239 kB / 459.2 MB, free: 28.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.081, allocations: 4 kB / 459.2 MB, free: 28.69 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_equalising_fmu --startTime=0 --stopTime=3000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_equalising.fmu > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe 2>&1) Environment - environmentSimulation: