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: translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009932/0.0009934, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01001/0.01002, allocations: 170 kB / 16.26 MB, free: 6.613 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.476/1.476, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2212/0.2212, allocations: 22.36 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000521/0.0005212, allocations: 8 kB / 382.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3732, allocations: 55.98 MB / 438.6 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops): time 0.00275/0.376, allocations: 2.411 MB / 441 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007942/0.3768, allocations: 485 kB / 441.5 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.377, allocations: 4.906 kB / 441.5 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.926e-05/0.3771, allocations: 32.11 kB / 441.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.3774, allocations: 70.33 kB / 441.6 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.3778, allocations: 233.8 kB / 441.8 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.3782, allocations: 452.3 kB / 442.2 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.3786, allocations: 186.7 kB / 442.4 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.3787, allocations: 117.1 kB / 442.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.3789, allocations: 154 kB / 442.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.3789, allocations: 11.25 kB / 442.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.165e-05/0.379, allocations: 13.19 kB / 442.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.379, allocations: 61.58 kB / 442.8 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.3792, allocations: 192.8 kB / 443 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.3795, allocations: 419 kB / 443.4 MB, free: 36.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3795, allocations: 3.344 kB / 443.4 MB, free: 36.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3795, allocations: 0 / 443.4 MB, free: 36.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3795, allocations: 0 / 443.4 MB, free: 36.39 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.0009761/0.3805, allocations: 0.6581 MB / 444 MB, free: 35.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3806, allocations: 12.28 kB / 444 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.69e-05/0.3806, allocations: 47.72 kB / 444.1 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.381, allocations: 331.9 kB / 444.4 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.381, allocations: 23.47 kB / 444.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-05/0.3811, allocations: 38.62 kB / 444.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/0.3818, allocations: 394.9 kB / 444.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3818, allocations: 192 / 444.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.3818, allocations: 19.5 kB / 444.9 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.3818, allocations: 11.25 kB / 444.9 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005792/0.3824, allocations: 296.8 kB / 445.2 MB, free: 35.26 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.001701/0.3841, allocations: 1.508 MB / 446.7 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.3848, allocations: 325.7 kB / 447 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.3851, allocations: 160.6 kB / 447.2 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.3852, allocations: 3.812 kB / 447.2 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3852, allocations: 44.77 kB / 447.2 MB, free: 33.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.3852, allocations: 0 / 447.2 MB, free: 33.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009741/0.3862, allocations: 449.7 kB / 447.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.3862, allocations: 134 kB / 447.8 MB, free: 33.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.3865, allocations: 277.8 kB / 448.1 MB, free: 33.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.3865, allocations: 29.7 kB / 448.1 MB, free: 33.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3866, allocations: 202.5 kB / 448.3 MB, free: 33.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/0.3867, allocations: 103.5 kB / 448.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.3868, allocations: 37.08 kB / 448.4 MB, free: 33.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.3868, allocations: 340.9 kB / 448.7 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.3871, allocations: 126.7 kB / 448.9 MB, free: 32.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.3874, allocations: 185.1 kB / 449.1 MB, free: 32.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.3895, allocations: 0.6345 MB / 449.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3895, allocations: 0 / 449.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007156/0.3903, allocations: 372.4 kB / 450.1 MB, free: 32.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/0.3904, allocations: 95.41 kB / 450.1 MB, free: 32.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3904, allocations: 3.984 kB / 450.1 MB, free: 32.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.3904, allocations: 6.438 kB / 450.2 MB, free: 32.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.3908, allocations: 86.61 kB / 450.2 MB, free: 32.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.3909, allocations: 2.75 kB / 450.2 MB, free: 32.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.3911, allocations: 46.88 kB / 450.3 MB, free: 32.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.3911, allocations: 8.969 kB / 450.3 MB, free: 32.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.3912, allocations: 9 kB / 450.3 MB, free: 32.14 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003343/0.3915, allocations: 227 kB / 450.5 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.3915, allocations: 0 / 450.5 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.3915, allocations: 2.188 kB / 450.5 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.3918, allocations: 62.95 kB / 450.6 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.3918, allocations: 2.125 kB / 450.6 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.3919, allocations: 27.72 kB / 450.6 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3919, allocations: 11.78 kB / 450.6 MB, free: 32.02 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 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 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003122/0.3923, allocations: 248.2 kB / 450.9 MB, free: 31.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.3923, allocations: 30.31 kB / 450.9 MB, free: 31.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008012/0.3931, allocations: 376.2 kB / 451.3 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3932, allocations: 2.625 kB / 451.3 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3932, allocations: 2.625 kB / 451.3 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3932, allocations: 3.328 kB / 451.3 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.3936, allocations: 427.4 kB / 451.7 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3936, allocations: 2.625 kB / 451.7 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.394, allocations: 73.36 kB / 451.8 MB, free: 31.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.394, allocations: 6.562 kB / 451.8 MB, free: 31.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.394, allocations: 10.38 kB / 451.8 MB, free: 31.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.3941, allocations: 0 / 451.8 MB, free: 31.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3941, allocations: 0 / 451.8 MB, free: 31.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009664/0.395, allocations: 0.6072 MB / 452.4 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.3951, allocations: 104.5 kB / 452.5 MB, free: 30.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.3952, allocations: 10.75 kB / 452.5 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.3954, allocations: 36.98 kB / 452.5 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.3955, allocations: 25 kB / 452.6 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3955, allocations: 8.625 kB / 452.6 MB, free: 30.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.3957, allocations: 192.8 kB / 452.8 MB, free: 30.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3957, allocations: 0 / 452.8 MB, free: 30.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004431/0.3961, allocations: 154.5 kB / 452.9 MB, free: 30.71 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001176/0.3962, allocations: 111.6 kB / 453 MB, free: 30.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007987/0.397, allocations: 427.5 kB / 453.4 MB, free: 30.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3971, allocations: 0 / 453.4 MB, free: 30.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.3973, allocations: 165.1 kB / 453.6 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.3979, allocations: 73.34 kB / 453.7 MB, free: 30.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.3995, allocations: 1.041 MB / 454.7 MB, free: 29.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.3997, allocations: 0.8078 MB / 455.5 MB, free: 29.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000172/0.3999, allocations: 30.91 kB / 455.6 MB, free: 29.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.4, allocations: 32.84 kB / 455.6 MB, free: 29.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4, allocations: 0 / 455.6 MB, free: 29.07 MB / 350.1 MB Notification: Performance of Templates: time 0.008513/0.4085, allocations: 3.676 MB / 459.3 MB, free: 28.86 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.makefile (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 & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe 2>&1)