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.0009383/0.0009384, allocations: 99.86 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.000935/0.0009351, allocations: 177.3 kB / 15.94 MB, free: 228 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.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2287/0.2287, allocations: 22.34 MB / 313.3 MB, free: 13.19 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004531, allocations: 16 kB / 381.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3258, allocations: 55.96 MB / 437.9 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising): time 0.002123/0.328, allocations: 2.01 MB / 439.9 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.3289, allocations: 0.7291 MB / 440.6 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3291, allocations: 2.375 kB / 440.6 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.3294, allocations: 53.39 kB / 440.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.3297, allocations: 98.3 kB / 440.8 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.33, allocations: 133 kB / 440.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.3303, allocations: 239.3 kB / 441.2 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.3304, allocations: 94.05 kB / 441.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.3306, allocations: 131.1 kB / 441.4 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.3307, allocations: 125.9 kB / 441.5 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.3308, allocations: 10.59 kB / 441.5 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.758e-05/0.3308, allocations: 11 kB / 441.5 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.3309, allocations: 53.5 kB / 441.6 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.3309, allocations: 77.64 kB / 441.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.3311, allocations: 230.5 kB / 441.9 MB, free: 36.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.3311, allocations: 0 / 441.9 MB, free: 36.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3311, allocations: 0 / 441.9 MB, free: 36.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.3311, allocations: 0 / 441.9 MB, free: 36.63 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.001075/0.3322, allocations: 0.6156 MB / 442.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3322, allocations: 8.438 kB / 442.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.298e-05/0.3323, allocations: 52.97 kB / 442.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.3324, allocations: 35.41 kB / 442.6 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.3328, allocations: 325.7 kB / 442.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3329, allocations: 21.41 kB / 442.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.3329, allocations: 25.72 kB / 442.9 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.3333, allocations: 243.9 kB / 443.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3333, allocations: 2.312 kB / 443.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.3333, allocations: 8 kB / 443.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3333, allocations: 9.844 kB / 443.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.3337, allocations: 178.2 kB / 443.4 MB, free: 35.62 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.3347, allocations: 0.8909 MB / 444.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.3351, allocations: 214.5 kB / 444.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.3351, allocations: 6.906 kB / 444.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.3351, allocations: 33.56 kB / 444.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.3351, allocations: 0 / 444.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005503/0.3357, allocations: 299 kB / 444.8 MB, free: 34.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.3357, allocations: 87.73 kB / 444.9 MB, free: 34.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.3361, allocations: 295.8 kB / 445.2 MB, free: 34.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3362, allocations: 33.7 kB / 445.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/0.3363, allocations: 171.9 kB / 445.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.3363, allocations: 79.89 kB / 445.5 MB, free: 34.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.3363, allocations: 4 kB / 445.5 MB, free: 34.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.3364, allocations: 339 kB / 445.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3366, allocations: 76.34 kB / 445.9 MB, free: 33.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.3367, allocations: 111.6 kB / 446 MB, free: 33.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.3369, allocations: 87.08 kB / 446.1 MB, free: 33.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3369, allocations: 0 / 446.1 MB, free: 33.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003785/0.3373, allocations: 270 kB / 446.3 MB, free: 33.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.3373, allocations: 179.8 kB / 446.5 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3374, allocations: 2.75 kB / 446.5 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3374, allocations: 0 / 446.5 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.3376, allocations: 53.98 kB / 446.6 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3376, allocations: 3.953 kB / 446.6 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.3379, allocations: 43.25 kB / 446.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3379, allocations: 5.5 kB / 446.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.3379, allocations: 3 kB / 446.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002421/0.3382, allocations: 191.5 kB / 446.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.3382, allocations: 3.281 kB / 446.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-06/0.3382, allocations: 0 / 446.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.3384, allocations: 42.66 kB / 446.8 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.3384, allocations: 6.859 kB / 446.9 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.3386, allocations: 36.45 kB / 446.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.3387, allocations: 5.75 kB / 446.9 MB, free: 33.36 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.0003044/0.339, allocations: 246.4 kB / 447.1 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.3391, allocations: 25.94 kB / 447.2 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.3396, allocations: 271.5 kB / 447.4 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3396, allocations: 3 kB / 447.4 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.3396, allocations: 0 / 447.4 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.3396, allocations: 7.359 kB / 447.4 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.34, allocations: 338.9 kB / 447.8 MB, free: 32.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.34, allocations: 7.953 kB / 447.8 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.3403, allocations: 53.55 kB / 447.8 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3403, allocations: 3.938 kB / 447.8 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.3403, allocations: 10.97 kB / 447.8 MB, free: 32.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3403, allocations: 0 / 447.8 MB, free: 32.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3404, allocations: 0 / 447.8 MB, free: 32.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.341, allocations: 445.7 kB / 448.3 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/0.341, allocations: 112.7 kB / 448.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.3411, allocations: 6.875 kB / 448.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.3413, allocations: 33.19 kB / 448.4 MB, free: 32.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.3414, allocations: 15.52 kB / 448.4 MB, free: 32.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.3414, allocations: 7.094 kB / 448.4 MB, free: 32.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003696/0.3418, allocations: 228.5 kB / 448.7 MB, free: 32.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3418, allocations: 4 kB / 448.7 MB, free: 32.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000422/0.3422, allocations: 99.91 kB / 448.8 MB, free: 32.2 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.0007791/0.343, allocations: 0.9883 MB / 449.8 MB, free: 31.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.3435, allocations: 305.2 kB / 450.1 MB, free: 31.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3435, allocations: 128 / 450.1 MB, free: 31.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.3437, allocations: 109 kB / 450.2 MB, free: 31.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.3441, allocations: 49.47 kB / 450.2 MB, free: 31.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.3482, allocations: 2.054 MB / 452.3 MB, free: 30.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.3485, allocations: 0.7849 MB / 453 MB, free: 29.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.3488, allocations: 43.67 kB / 453.1 MB, free: 29.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.349, allocations: 91 kB / 453.2 MB, free: 29.37 MB / 350.1 MB Notification: Performance of SimCode: time 1.433e-06/0.349, allocations: 0 / 453.2 MB, free: 29.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.3759, allocations: 5.315 MB / 458.5 MB, free: 29.05 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.3762, allocations: 235.2 kB / 458.7 MB, free: 28.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.191, allocations: 3.938 kB / 458.7 MB, free: 28.79 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: