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.001531/0.001531, allocations: 99.55 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.001769/0.001769, 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.353/1.353, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2729/0.2729, allocations: 22.33 MB / 313.3 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 8 kB / 381.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3289, allocations: 55.98 MB / 437.8 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.003492/0.3324, allocations: 2.273 MB / 440.1 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3336, allocations: 474.3 kB / 440.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003378/0.334, allocations: 9.812 kB / 440.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.3341, allocations: 33.72 kB / 440.6 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.3346, allocations: 74.11 kB / 440.7 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006398/0.3353, allocations: 188.6 kB / 440.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005234/0.3358, allocations: 296.7 kB / 441.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.3362, allocations: 158.3 kB / 441.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.3364, allocations: 110.6 kB / 441.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.3366, allocations: 144 kB / 441.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.653e-05/0.3366, allocations: 13.25 kB / 441.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.234e-05/0.3367, allocations: 17.28 kB / 441.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.3368, allocations: 52.36 kB / 441.6 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.3368, allocations: 94.67 kB / 441.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.3371, allocations: 331 kB / 442 MB, free: 36.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3371, allocations: 0 / 442 MB, free: 36.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3371, allocations: 0 / 442 MB, free: 36.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.3372, allocations: 0 / 442 MB, free: 36.54 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.001056/0.3382, allocations: 0.6595 MB / 442.7 MB, free: 36.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3383, allocations: 9.438 kB / 442.7 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.3384, allocations: 46.91 kB / 442.8 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.3389, allocations: 327.3 kB / 443.1 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.3389, allocations: 25.72 kB / 443.1 MB, free: 35.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/0.339, allocations: 33.69 kB / 443.1 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/0.3397, allocations: 390 kB / 443.5 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.3397, allocations: 0 / 443.5 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.3397, allocations: 14.52 kB / 443.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.3397, allocations: 7.719 kB / 443.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000595/0.3403, allocations: 300 kB / 443.8 MB, free: 35.43 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.001853/0.3422, allocations: 1.505 MB / 445.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.3428, allocations: 317.6 kB / 445.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.3428, allocations: 9.172 kB / 445.7 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.3429, allocations: 34.5 kB / 445.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.804e-06/0.3429, allocations: 2.688 kB / 445.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009054/0.3438, allocations: 447.8 kB / 446.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.3439, allocations: 131.5 kB / 446.3 MB, free: 33.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3441, allocations: 265.9 kB / 446.5 MB, free: 33.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.3441, allocations: 33.7 kB / 446.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3442, allocations: 204.3 kB / 446.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.386e-05/0.3443, allocations: 104.3 kB / 446.8 MB, free: 33.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.3443, allocations: 6.812 kB / 446.9 MB, free: 33.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.366e-05/0.3444, allocations: 346.4 kB / 447.2 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.3446, allocations: 125.5 kB / 447.3 MB, free: 32.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.3449, allocations: 175 kB / 447.5 MB, free: 32.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.3452, allocations: 140.7 kB / 447.6 MB, free: 32.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3452, allocations: 4 kB / 447.6 MB, free: 32.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000602/0.3458, allocations: 371.9 kB / 448 MB, free: 32.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/0.3459, allocations: 185.4 kB / 448.2 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3459, allocations: 0 / 448.2 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3459, allocations: 2.75 kB / 448.2 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.3463, allocations: 83.31 kB / 448.3 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3463, allocations: 7.328 kB / 448.3 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.3465, allocations: 50.42 kB / 448.3 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.3465, allocations: 12.31 kB / 448.3 MB, free: 32.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.3466, allocations: 3.062 kB / 448.3 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000299/0.3469, allocations: 217.7 kB / 448.5 MB, free: 32.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.3469, allocations: 0 / 448.5 MB, free: 32.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-06/0.3469, allocations: 2.875 kB / 448.5 MB, free: 32.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.3471, allocations: 60.53 kB / 448.6 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3472, allocations: 2.875 kB / 448.6 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.3473, allocations: 25.14 kB / 448.6 MB, free: 32.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.3473, allocations: 14.69 kB / 448.6 MB, free: 32.34 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.0002606/0.3476, allocations: 248.5 kB / 448.9 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.3477, allocations: 36.89 kB / 448.9 MB, free: 32.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/0.3483, allocations: 385.2 kB / 449.3 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3484, allocations: 2.719 kB / 449.3 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3484, allocations: 0 / 449.3 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3484, allocations: 3.469 kB / 449.3 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.3488, allocations: 435 kB / 449.7 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3488, allocations: 0 / 449.7 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.3492, allocations: 73.69 kB / 449.8 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3492, allocations: 2.062 kB / 449.8 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.3492, allocations: 9.578 kB / 449.8 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3492, allocations: 2.031 kB / 449.8 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3492, allocations: 0 / 449.8 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.3502, allocations: 0.5963 MB / 450.4 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.3503, allocations: 112.7 kB / 450.5 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.3503, allocations: 13.94 kB / 450.5 MB, free: 31.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.3506, allocations: 28.86 kB / 450.6 MB, free: 31.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.3506, allocations: 16.47 kB / 450.6 MB, free: 31.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.3506, allocations: 12.67 kB / 450.6 MB, free: 31.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.3508, allocations: 191.2 kB / 450.8 MB, free: 31.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3508, allocations: 0 / 450.8 MB, free: 31.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000475/0.3513, allocations: 141.2 kB / 450.9 MB, free: 31.04 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.000138/0.3514, allocations: 114.9 kB / 451 MB, free: 30.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007483/0.3522, allocations: 442.7 kB / 451.5 MB, free: 30.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3522, allocations: 2.625 kB / 451.5 MB, free: 30.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.3524, allocations: 160.7 kB / 451.6 MB, free: 30.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.3529, allocations: 69.7 kB / 451.7 MB, free: 30.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.3543, allocations: 0.9966 MB / 452.7 MB, free: 30.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.3546, allocations: 0.8188 MB / 453.5 MB, free: 29.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000177/0.3547, allocations: 42.56 kB / 453.5 MB, free: 29.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.311e-05/0.3548, allocations: 34 kB / 453.6 MB, free: 29.42 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3548, allocations: 0 / 453.6 MB, free: 29.42 MB / 350.1 MB Notification: Performance of Templates: time 0.009445/0.3643, allocations: 3.529 MB / 457.1 MB, free: 29.21 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: