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.0008981/0.0008981, 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.00102/0.00102, 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.432/1.432, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.259/0.259, allocations: 22.36 MB / 313.4 MB, free: 13.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003778, allocations: 8 kB / 381.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3556, allocations: 55.97 MB / 437.9 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops): time 0.003054/0.3587, allocations: 2.321 MB / 440.2 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3598, allocations: 475 kB / 440.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.3599, allocations: 5.25 kB / 440.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.3e-05/0.36, allocations: 27.92 kB / 440.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.3603, allocations: 73.19 kB / 440.8 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.3607, allocations: 185.5 kB / 441 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.3611, allocations: 425 kB / 441.4 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.3614, allocations: 160.2 kB / 441.6 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3616, allocations: 118.7 kB / 441.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.3618, allocations: 142.3 kB / 441.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.3618, allocations: 13.59 kB / 441.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.71e-05/0.3618, allocations: 11.22 kB / 441.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.3619, allocations: 59.39 kB / 441.9 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.362, allocations: 88.92 kB / 442 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.3622, allocations: 337.9 kB / 442.3 MB, free: 36.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3623, allocations: 0 / 442.3 MB, free: 36.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3623, allocations: 0 / 442.3 MB, free: 36.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3623, allocations: 0 / 442.3 MB, free: 36.45 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.0008997/0.3632, allocations: 0.6526 MB / 443 MB, free: 35.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3632, allocations: 16.17 kB / 443 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/0.3633, allocations: 47.31 kB / 443 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.3637, allocations: 320.7 kB / 443.3 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.3637, allocations: 35.38 kB / 443.4 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.3638, allocations: 32.31 kB / 443.4 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.3644, allocations: 386.9 kB / 443.8 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.3644, allocations: 0 / 443.8 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.3644, allocations: 14.8 kB / 443.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.3645, allocations: 8.656 kB / 443.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.365, allocations: 296.8 kB / 444.1 MB, free: 35.34 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.001603/0.3666, allocations: 1.507 MB / 445.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/0.3672, allocations: 328.2 kB / 445.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.3674, allocations: 161.7 kB / 446.1 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.3675, allocations: 6.875 kB / 446.1 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.3675, allocations: 33.34 kB / 446.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.823e-06/0.3675, allocations: 3.938 kB / 446.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008847/0.3684, allocations: 446.9 kB / 446.6 MB, free: 33.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.3685, allocations: 135.3 kB / 446.7 MB, free: 33.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.3687, allocations: 265.7 kB / 447 MB, free: 33.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.3688, allocations: 32.61 kB / 447 MB, free: 33.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3689, allocations: 202.2 kB / 447.2 MB, free: 33.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.82e-05/0.369, allocations: 108.9 kB / 447.3 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.369, allocations: 6.188 kB / 447.3 MB, free: 33.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.3691, allocations: 346.5 kB / 447.6 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.3693, allocations: 124.8 kB / 447.8 MB, free: 32.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.3696, allocations: 174.9 kB / 447.9 MB, free: 32.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.3699, allocations: 135.3 kB / 448.1 MB, free: 32.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.3699, allocations: 0 / 448.1 MB, free: 32.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005994/0.3705, allocations: 378.5 kB / 448.4 MB, free: 32.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/0.3706, allocations: 99.73 kB / 448.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3706, allocations: 0 / 448.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3706, allocations: 2.781 kB / 448.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.371, allocations: 82.58 kB / 448.6 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.371, allocations: 2.75 kB / 448.6 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.3712, allocations: 51.52 kB / 448.7 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.3712, allocations: 8.094 kB / 448.7 MB, free: 32.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.171e-06/0.3712, allocations: 2.75 kB / 448.7 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003508/0.3716, allocations: 223.4 kB / 448.9 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-06/0.3716, allocations: 0 / 448.9 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.3716, allocations: 2.781 kB / 448.9 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.3719, allocations: 68.83 kB / 449 MB, free: 32.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3719, allocations: 6.609 kB / 449 MB, free: 32.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.372, allocations: 24.44 kB / 449 MB, free: 32.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.3721, allocations: 12.31 kB / 449 MB, free: 32.27 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.0003362/0.3724, allocations: 244.3 kB / 449.2 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.3725, allocations: 36.05 kB / 449.3 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007726/0.3733, allocations: 387.4 kB / 449.7 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3733, allocations: 3.062 kB / 449.7 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3733, allocations: 1.656 kB / 449.7 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3733, allocations: 7.047 kB / 449.7 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.3737, allocations: 424.7 kB / 450.1 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3737, allocations: 6.562 kB / 450.1 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.3741, allocations: 72.77 kB / 450.2 MB, free: 31.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.3741, allocations: 10.52 kB / 450.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.3741, allocations: 6.906 kB / 450.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3741, allocations: 0 / 450.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3741, allocations: 4 kB / 450.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008633/0.375, allocations: 0.589 MB / 450.8 MB, free: 31.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.375, allocations: 105.5 kB / 450.9 MB, free: 31.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.3751, allocations: 14.7 kB / 450.9 MB, free: 31.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.3753, allocations: 28.72 kB / 450.9 MB, free: 31.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.3754, allocations: 15.2 kB / 450.9 MB, free: 31.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.3754, allocations: 13.67 kB / 450.9 MB, free: 31.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.3755, allocations: 193.8 kB / 451.1 MB, free: 31.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3755, allocations: 0 / 451.1 MB, free: 31.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004771/0.376, allocations: 142.7 kB / 451.3 MB, free: 30.98 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.00014/0.3762, allocations: 112.7 kB / 451.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007689/0.3769, allocations: 444.7 kB / 451.8 MB, free: 30.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.377, allocations: 128 / 451.8 MB, free: 30.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.3772, allocations: 159.5 kB / 452 MB, free: 30.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.3778, allocations: 82.28 kB / 452.1 MB, free: 30.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.3794, allocations: 1 MB / 453.1 MB, free: 30.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.3797, allocations: 0.8011 MB / 453.9 MB, free: 29.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.3799, allocations: 38.97 kB / 453.9 MB, free: 29.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.599e-05/0.38, allocations: 38.16 kB / 453.9 MB, free: 29.35 MB / 350.1 MB Notification: Performance of SimCode: time 5.92e-07/0.38, allocations: 0 / 453.9 MB, free: 29.35 MB / 350.1 MB Notification: Performance of Templates: time 0.008196/0.3882, allocations: 3.541 MB / 457.5 MB, free: 29.13 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)