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.0007861/0.0007861, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008456/0.0008457, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.316/1.316, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2071/0.2071, allocations: 22.34 MB / 314.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 8 kB / 383.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2472, allocations: 55.99 MB / 439.3 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops): time 0.002304/0.2495, allocations: 2.41 MB / 441.7 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008414/0.2504, allocations: 486.1 kB / 442.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.2506, allocations: 5.875 kB / 442.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.023e-05/0.2506, allocations: 29.83 kB / 442.2 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.2509, allocations: 66.11 kB / 442.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.2513, allocations: 233 kB / 442.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.2516, allocations: 450.3 kB / 442.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.2519, allocations: 190.6 kB / 443.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.496e-05/0.252, allocations: 120 kB / 443.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.2521, allocations: 150.7 kB / 443.4 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.2522, allocations: 18.19 kB / 443.4 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.294e-05/0.2522, allocations: 11.75 kB / 443.4 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.2522, allocations: 63.83 kB / 443.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.2524, allocations: 192.3 kB / 443.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.2526, allocations: 330.5 kB / 444 MB, free: 36.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2526, allocations: 0 / 444 MB, free: 36.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2526, allocations: 0 / 444 MB, free: 36.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2526, allocations: 0 / 444 MB, free: 36.21 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.0008344/0.2535, allocations: 0.6548 MB / 444.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2535, allocations: 13.19 kB / 444.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.2536, allocations: 48.34 kB / 444.7 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.2539, allocations: 330.9 kB / 445 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.2539, allocations: 23.31 kB / 445 MB, free: 35.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.254, allocations: 38.31 kB / 445.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.2546, allocations: 394.7 kB / 445.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2546, allocations: 192 / 445.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.2546, allocations: 18.72 kB / 445.5 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.2546, allocations: 8.531 kB / 445.5 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005524/0.2552, allocations: 298.7 kB / 445.8 MB, free: 35.09 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.001516/0.2567, allocations: 1.502 MB / 447.3 MB, free: 33.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.2573, allocations: 319.8 kB / 447.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.2576, allocations: 169.4 kB / 447.7 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.2576, allocations: 3 kB / 447.7 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2576, allocations: 41 kB / 447.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.333e-06/0.2576, allocations: 0 / 447.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008699/0.2585, allocations: 450.1 kB / 448.2 MB, free: 33.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.2586, allocations: 135.6 kB / 448.4 MB, free: 33.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.2587, allocations: 271.9 kB / 448.6 MB, free: 33.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.2588, allocations: 32.8 kB / 448.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.2589, allocations: 199.6 kB / 448.8 MB, free: 33.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.2589, allocations: 109.6 kB / 449 MB, free: 32.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.259, allocations: 33.47 kB / 449 MB, free: 32.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.259, allocations: 341.7 kB / 449.3 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.2593, allocations: 126.1 kB / 449.4 MB, free: 32.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.2596, allocations: 180.9 kB / 449.6 MB, free: 32.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.2616, allocations: 0.6363 MB / 450.3 MB, free: 32.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2616, allocations: 0 / 450.3 MB, free: 32.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006286/0.2622, allocations: 370.8 kB / 450.6 MB, free: 32.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.2623, allocations: 106.7 kB / 450.7 MB, free: 32.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2623, allocations: 0 / 450.7 MB, free: 32.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2623, allocations: 6.594 kB / 450.7 MB, free: 32.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.2626, allocations: 85.25 kB / 450.8 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2626, allocations: 0 / 450.8 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.2629, allocations: 42.03 kB / 450.9 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.2629, allocations: 18.41 kB / 450.9 MB, free: 31.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.94e-06/0.2629, allocations: 2.625 kB / 450.9 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002965/0.2632, allocations: 226 kB / 451.1 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.2632, allocations: 3.812 kB / 451.1 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-06/0.2632, allocations: 3.938 kB / 451.1 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.2635, allocations: 59.38 kB / 451.2 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.2635, allocations: 0 / 451.2 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.2636, allocations: 33.58 kB / 451.2 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.2637, allocations: 11.78 kB / 451.2 MB, free: 31.85 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.0002073/0.2639, allocations: 253.2 kB / 451.5 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.2639, allocations: 30.38 kB / 451.5 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006823/0.2646, allocations: 377 kB / 451.8 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2646, allocations: 2.938 kB / 451.9 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2646, allocations: 4 kB / 451.9 MB, free: 31.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2647, allocations: 3.422 kB / 451.9 MB, free: 31.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.265, allocations: 430.1 kB / 452.3 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.265, allocations: 0 / 452.3 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.2654, allocations: 76.14 kB / 452.4 MB, free: 31.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2654, allocations: 7.875 kB / 452.4 MB, free: 31.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.2654, allocations: 10.23 kB / 452.4 MB, free: 31.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2654, allocations: 2.906 kB / 452.4 MB, free: 31.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2654, allocations: 0 / 452.4 MB, free: 31.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008779/0.2663, allocations: 0.6019 MB / 453 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.2664, allocations: 110.4 kB / 453.1 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.2664, allocations: 4.062 kB / 453.1 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.2667, allocations: 36.56 kB / 453.1 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.2667, allocations: 19.17 kB / 453.1 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.2667, allocations: 5.219 kB / 453.1 MB, free: 30.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.2668, allocations: 192.5 kB / 453.3 MB, free: 30.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2669, allocations: 0 / 453.3 MB, free: 30.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004131/0.2673, allocations: 152.5 kB / 453.5 MB, free: 30.54 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 8.543e-05/0.2674, allocations: 112.9 kB / 453.6 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007042/0.2681, allocations: 429.4 kB / 454 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2681, allocations: 0 / 454 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.2683, allocations: 165 kB / 454.2 MB, free: 30.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.2689, allocations: 75.16 kB / 454.2 MB, free: 30.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.2702, allocations: 1.074 MB / 455.3 MB, free: 29.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.2704, allocations: 0.8032 MB / 456.1 MB, free: 28.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.2705, allocations: 27.38 kB / 456.2 MB, free: 28.88 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2705, allocations: 3.031 kB / 456.2 MB, free: 28.88 MB / 350.1 MB Notification: Performance of Templates: time 0.005615/0.2761, allocations: 4.202 MB / 460.4 MB, free: 28.52 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)