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_cascadeLoops.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_cascadeLoops,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_cascadeLoops",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_cascadeLoops",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.0009258/0.0009255, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001102/0.001102, allocations: 168.7 kB / 15.95 MB, free: 204 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.337/1.337, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2154/0.2154, allocations: 22.36 MB / 313.4 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002988, allocations: 8 kB / 382.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3166, allocations: 55.98 MB / 438 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops): time 0.002225/0.3189, allocations: 2.307 MB / 440.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008075/0.3197, allocations: 476.8 kB / 440.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3199, allocations: 12.84 kB / 440.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.598e-05/0.32, allocations: 25.45 kB / 440.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.3203, allocations: 74.25 kB / 440.9 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.3207, allocations: 185.8 kB / 441.1 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.3211, allocations: 423.7 kB / 441.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.3214, allocations: 160.1 kB / 441.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3215, allocations: 121.7 kB / 441.8 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.3217, allocations: 140.5 kB / 441.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.3217, allocations: 15 kB / 441.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.068e-05/0.3218, allocations: 11.53 kB / 442 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.3218, allocations: 60 kB / 442 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.3219, allocations: 87.67 kB / 442.1 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.3222, allocations: 338.8 kB / 442.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3222, allocations: 0 / 442.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3222, allocations: 4 kB / 442.4 MB, free: 36.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3222, allocations: 0 / 442.4 MB, free: 36.4 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009767/0.3232, allocations: 0.6575 MB / 443.1 MB, free: 35.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3233, allocations: 8.625 kB / 443.1 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.749e-05/0.3234, allocations: 68.73 kB / 443.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.167e-05/0.3234, allocations: 49.44 kB / 443.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.3238, allocations: 329 kB / 443.5 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.3238, allocations: 23.81 kB / 443.6 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.3239, allocations: 33.88 kB / 443.6 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005988/0.3245, allocations: 391.6 kB / 444 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3245, allocations: 3.953 kB / 444 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.3246, allocations: 15.06 kB / 444 MB, free: 35.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3246, allocations: 8.25 kB / 444 MB, free: 35.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000518/0.3251, allocations: 290.5 kB / 444.3 MB, free: 35.24 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.001562/0.3267, allocations: 1.51 MB / 445.8 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.3273, allocations: 323.5 kB / 446.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.3276, allocations: 161.3 kB / 446.3 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.3276, allocations: 3.125 kB / 446.3 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3276, allocations: 45.16 kB / 446.3 MB, free: 33.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.472e-06/0.3277, allocations: 0 / 446.3 MB, free: 33.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008846/0.3285, allocations: 445.2 kB / 446.7 MB, free: 33.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.3286, allocations: 141.6 kB / 446.9 MB, free: 33.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.3289, allocations: 263.5 kB / 447.1 MB, free: 33.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3289, allocations: 32.77 kB / 447.2 MB, free: 33.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.329, allocations: 202.1 kB / 447.4 MB, free: 33.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.3291, allocations: 107.4 kB / 447.5 MB, free: 33.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.3291, allocations: 4 kB / 447.5 MB, free: 33.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.3292, allocations: 339.4 kB / 447.8 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.3294, allocations: 130.3 kB / 447.9 MB, free: 32.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.3297, allocations: 179.7 kB / 448.1 MB, free: 32.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.33, allocations: 136.3 kB / 448.2 MB, free: 32.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.33, allocations: 0 / 448.2 MB, free: 32.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005746/0.3305, allocations: 375.2 kB / 448.6 MB, free: 32.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.3306, allocations: 100.8 kB / 448.7 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3306, allocations: 6.875 kB / 448.7 MB, free: 32.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3306, allocations: 3.938 kB / 448.7 MB, free: 32.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.331, allocations: 79.58 kB / 448.8 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.331, allocations: 2.844 kB / 448.8 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3312, allocations: 53.36 kB / 448.9 MB, free: 32.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.3313, allocations: 9.719 kB / 448.9 MB, free: 32.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.3313, allocations: 8.25 kB / 448.9 MB, free: 32.28 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003184/0.3316, allocations: 215.6 kB / 449.1 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.3316, allocations: 2.531 kB / 449.1 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-06/0.3316, allocations: 2.219 kB / 449.1 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.3319, allocations: 56.5 kB / 449.1 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3319, allocations: 5.625 kB / 449.1 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.332, allocations: 26.31 kB / 449.2 MB, free: 32.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.332, allocations: 16.16 kB / 449.2 MB, free: 32.16 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 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 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 (36): * Single equations (assignments): 36 * 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.0002784/0.3323, allocations: 248.3 kB / 449.4 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.3324, allocations: 39.2 kB / 449.5 MB, free: 31.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.3331, allocations: 384.6 kB / 449.8 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3331, allocations: 6.969 kB / 449.9 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3331, allocations: 2.688 kB / 449.9 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3331, allocations: 0 / 449.9 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.3336, allocations: 423.9 kB / 450.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3336, allocations: 4 kB / 450.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.3339, allocations: 78.23 kB / 450.3 MB, free: 31.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3339, allocations: 3.031 kB / 450.4 MB, free: 31.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.334, allocations: 11.03 kB / 450.4 MB, free: 31.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.334, allocations: 0 / 450.4 MB, free: 31.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.334, allocations: 0 / 450.4 MB, free: 31.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008789/0.3349, allocations: 0.5897 MB / 451 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.3349, allocations: 109.4 kB / 451.1 MB, free: 31.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.335, allocations: 18.23 kB / 451.1 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.3352, allocations: 30.36 kB / 451.1 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.3353, allocations: 19.86 kB / 451.1 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.3353, allocations: 8.422 kB / 451.1 MB, free: 31.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.3355, allocations: 191.8 kB / 451.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3355, allocations: 0 / 451.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004278/0.3359, allocations: 146.2 kB / 451.5 MB, free: 30.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Act2.y,Act1.y,Cap.T,CT.FO.y,CA1.FO.y,CA2.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 (31): * Single equations (assignments): 31 * 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.001021/0.3369, allocations: 1.152 MB / 452.6 MB, free: 30.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006933/0.3376, allocations: 438.6 kB / 453 MB, free: 29.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3376, allocations: 0 / 453 MB, free: 29.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.3379, allocations: 155.2 kB / 453.2 MB, free: 29.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.3384, allocations: 82.84 kB / 453.3 MB, free: 29.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.3415, allocations: 2.228 MB / 455.5 MB, free: 28.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.3418, allocations: 0.7958 MB / 456.3 MB, free: 27.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.342, allocations: 44.77 kB / 456.3 MB, free: 27.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.3421, allocations: 126.9 kB / 456.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3421, allocations: 0 / 456.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.3627, allocations: 6.645 MB / 463.1 MB, free: 27.45 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/0.3629, allocations: 235.1 kB / 463.3 MB, free: 27.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.155, allocations: 3.094 kB / 463.3 MB, free: 27.2 MB / 350.1 MB (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_cascadeLoops_fmu --startTime=0 --stopTime=3000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_cascadeLoops.fmu > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe 2>&1) Environment - environmentSimulation: