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/AES main/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09842/0.09842, allocations: 21.61 MB / 36.56 MB, free: 1.059 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009902/0.0009903, allocations: 183.4 kB / 42.82 MB, free: 3.785 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.2 MB / 272.1 MB, free: 1.426 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 95.02 kB / 328.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003445, allocations: 12 kB / 397.1 MB, free: 46.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08115/0.08151, allocations: 55.82 MB / 452.9 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2728/0.3543, allocations: 81.33 MB / 0.5217 GB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.3546, allocations: 84.83 kB / 0.5218 GB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01458/0.3692, allocations: 6.617 MB / 0.5282 GB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3692, allocations: 0 / 0.5282 GB, free: 11.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.3692, allocations: 7.719 kB / 0.5282 GB, free: 11.57 MB / 362.7 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.0007921/0.37, allocations: 0.6789 MB / 0.5289 GB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.3701, allocations: 11.69 kB / 0.5289 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.3701, allocations: 46.5 kB / 0.5289 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.3705, allocations: 326.9 kB / 0.5293 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3705, allocations: 25.12 kB / 0.5293 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.3706, allocations: 33.53 kB / 0.5293 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.3712, allocations: 393.2 kB / 0.5297 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3712, allocations: 3.984 kB / 0.5297 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.3712, allocations: 17.19 kB / 0.5297 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.3713, allocations: 7.844 kB / 0.5297 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005299/0.3718, allocations: 298.1 kB / 0.53 GB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.3731, allocations: 0.9946 MB / 0.531 GB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.3736, allocations: 312 kB / 0.5313 GB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3736, allocations: 14.19 kB / 0.5313 GB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.3736, allocations: 34.41 kB / 0.5313 GB, free: 9.863 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.333e-06/0.3736, allocations: 0 / 0.5313 GB, free: 9.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007827/0.3744, allocations: 454 kB / 0.5317 GB, free: 9.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.3745, allocations: 132.4 kB / 0.5319 GB, free: 9.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.3747, allocations: 236.1 kB / 0.5321 GB, free: 9.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3747, allocations: 33.05 kB / 0.5321 GB, free: 9.441 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/0.3748, allocations: 204.7 kB / 0.5323 GB, free: 9.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.3748, allocations: 104.3 kB / 0.5324 GB, free: 9.227 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.3748, allocations: 2.5 kB / 0.5324 GB, free: 9.227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.3749, allocations: 351.1 kB / 0.5328 GB, free: 8.898 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.3751, allocations: 119.4 kB / 0.5329 GB, free: 8.879 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.3754, allocations: 178.2 kB / 0.533 GB, free: 8.809 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.3756, allocations: 137.5 kB / 0.5332 GB, free: 8.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3757, allocations: 0 / 0.5332 GB, free: 8.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005498/0.3762, allocations: 371.7 kB / 0.5335 GB, free: 8.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.3763, allocations: 189 kB / 0.5337 GB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3763, allocations: 0 / 0.5337 GB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3763, allocations: 11.8 kB / 0.5337 GB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.3766, allocations: 84.3 kB / 0.5338 GB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3766, allocations: 3.984 kB / 0.5338 GB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.3769, allocations: 49.41 kB / 0.5339 GB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3769, allocations: 11 kB / 0.5339 GB, free: 8.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.661e-06/0.3769, allocations: 3.844 kB / 0.5339 GB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002846/0.3772, allocations: 214.6 kB / 0.5341 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.3772, allocations: 3.844 kB / 0.5341 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-06/0.3772, allocations: 4.031 kB / 0.5341 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.3774, allocations: 62.19 kB / 0.5341 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.3774, allocations: 3.688 kB / 0.5341 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.3776, allocations: 27.19 kB / 0.5342 GB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.3776, allocations: 15.52 kB / 0.5342 GB, free: 8.402 MB / 362.7 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(start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Act2.y:VARIABLE(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.000229/0.3779, allocations: 247.8 kB / 0.5344 GB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.3779, allocations: 30.84 kB / 0.5344 GB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006166/0.3785, allocations: 369.6 kB / 0.5348 GB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3785, allocations: 3.844 kB / 0.5348 GB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3786, allocations: 4 kB / 0.5348 GB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3786, allocations: 11.77 kB / 0.5348 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.3789, allocations: 429.5 kB / 0.5352 GB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3789, allocations: 0 / 0.5352 GB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.3793, allocations: 73.36 kB / 0.5353 GB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3793, allocations: 3.844 kB / 0.5353 GB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.3793, allocations: 10.62 kB / 0.5353 GB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3793, allocations: 7.719 kB / 0.5353 GB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3793, allocations: 0 / 0.5353 GB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007984/0.3801, allocations: 0.5985 MB / 0.5359 GB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.3802, allocations: 107.8 kB / 0.536 GB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.3802, allocations: 7.656 kB / 0.536 GB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.3805, allocations: 30.11 kB / 0.536 GB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.3805, allocations: 18.91 kB / 0.5361 GB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3805, allocations: 11.81 kB / 0.5361 GB, free: 7.406 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.3807, allocations: 190.8 kB / 0.5363 GB, free: 7.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3807, allocations: 0 / 0.5363 GB, free: 7.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003965/0.3811, allocations: 154.2 kB / 0.5364 GB, free: 7.273 MB / 362.7 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.0001005/0.3812, allocations: 120.5 kB / 0.5365 GB, free: 7.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006498/0.3818, allocations: 429.1 kB / 0.5369 GB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3818, allocations: 7.969 kB / 0.5369 GB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.3821, allocations: 160.2 kB / 0.5371 GB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3824, allocations: 75.44 kB / 0.5372 GB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.3837, allocations: 0.9949 MB / 0.5381 GB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.3839, allocations: 0.8117 MB / 0.5389 GB, free: 5.668 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001748/0.384, allocations: 49.38 kB / 0.539 GB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.3841, allocations: 30.34 kB / 0.539 GB, free: 5.637 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3841, allocations: 0 / 0.539 GB, free: 5.637 MB / 362.7 MB Notification: Performance of Templates: time 0.005395/0.3895, allocations: 3.536 MB / 0.5425 GB, free: 3.98 MB / 362.7 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)