Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_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.Typical_actuation_schemes.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_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.09276/0.09276, 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.0008744/0.0008745, allocations: 182.4 kB / 42.83 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.226/1.226, allocations: 223.2 MB / 272.2 MB, free: 1.762 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.0008469/0.0008469, allocations: 98.84 kB / 328.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002674, allocations: 8 kB / 397 MB, free: 46.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07719/0.07747, allocations: 55.83 MB / 452.9 MB, free: 6.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2694/0.3469, allocations: 80.21 MB / 0.5206 GB, free: 12.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.3471, allocations: 75.2 kB / 0.5206 GB, free: 12.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.3622, allocations: 5.298 MB / 0.5258 GB, free: 12.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3622, allocations: 0 / 0.5258 GB, free: 12.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.3623, allocations: 3.844 kB / 0.5258 GB, free: 12.04 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001171/0.3634, allocations: 0.6921 MB / 0.5265 GB, free: 11.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.3635, allocations: 11.66 kB / 0.5265 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.3635, allocations: 35.06 kB / 0.5265 GB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008036/0.3643, allocations: 422.9 kB / 0.5269 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3644, allocations: 13.58 kB / 0.527 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.3644, allocations: 25.09 kB / 0.527 GB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.3647, allocations: 195.5 kB / 0.5272 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3647, allocations: 3.984 kB / 0.5272 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.3647, allocations: 10.58 kB / 0.5272 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3647, allocations: 3.844 kB / 0.5272 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.3651, allocations: 198.8 kB / 0.5274 GB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008091/0.3659, allocations: 0.6667 MB / 0.528 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.3665, allocations: 313 kB / 0.5283 GB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3665, allocations: 3.688 kB / 0.5283 GB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.3665, allocations: 37.62 kB / 0.5284 GB, free: 10.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.232e-06/0.3666, allocations: 0 / 0.5284 GB, free: 10.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005562/0.3671, allocations: 363 kB / 0.5287 GB, free: 10.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.3671, allocations: 59.25 kB / 0.5288 GB, free: 10.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007251/0.3679, allocations: 386.3 kB / 0.5291 GB, free: 10.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3679, allocations: 40.56 kB / 0.5292 GB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.368, allocations: 162.7 kB / 0.5293 GB, free: 10.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.368, allocations: 90.97 kB / 0.5294 GB, free: 9.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.3681, allocations: 3.375 kB / 0.5294 GB, free: 9.949 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.3681, allocations: 343.8 kB / 0.5297 GB, free: 9.629 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3683, allocations: 91.5 kB / 0.5298 GB, free: 9.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3684, allocations: 97.3 kB / 0.5299 GB, free: 9.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3686, allocations: 109.9 kB / 0.53 GB, free: 9.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3686, allocations: 7.938 kB / 0.53 GB, free: 9.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004016/0.369, allocations: 336.6 kB / 0.5304 GB, free: 9.477 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.369, allocations: 3.844 kB / 0.5304 GB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.369, allocations: 0 / 0.5304 GB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.369, allocations: 0 / 0.5304 GB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.3693, allocations: 54.34 kB / 0.5304 GB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3693, allocations: 0 / 0.5304 GB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.3696, allocations: 69.95 kB / 0.5305 GB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3697, allocations: 10.48 kB / 0.5305 GB, free: 9.43 MB / 362.7 MB Warning: Assuming fixed start value for the following 7 variables: CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] CA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Act2.y:VARIABLE(start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 0.0001751/0.3699, allocations: 163.8 kB / 0.5307 GB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.3699, allocations: 29.62 kB / 0.5307 GB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.3705, allocations: 325.6 kB / 0.531 GB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3705, allocations: 6.547 kB / 0.531 GB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3705, allocations: 5.344 kB / 0.531 GB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3705, allocations: 0 / 0.531 GB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.3708, allocations: 371.7 kB / 0.5314 GB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3708, allocations: 7.984 kB / 0.5314 GB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.3711, allocations: 49.78 kB / 0.5314 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3711, allocations: 3.875 kB / 0.5314 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.3711, allocations: 11.14 kB / 0.5314 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3711, allocations: 0 / 0.5314 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3711, allocations: 0 / 0.5314 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.3717, allocations: 0.5216 MB / 0.5319 GB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.3718, allocations: 115.1 kB / 0.532 GB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.3718, allocations: 6.625 kB / 0.5321 GB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.3722, allocations: 53.83 kB / 0.5321 GB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.3723, allocations: 22.72 kB / 0.5321 GB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.3723, allocations: 3.438 kB / 0.5321 GB, free: 8.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005981/0.3729, allocations: 340 kB / 0.5325 GB, free: 8.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3729, allocations: 0 / 0.5325 GB, free: 8.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002694/0.3732, allocations: 60.41 kB / 0.5325 GB, free: 8.355 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,CA2.x_scaled[1],CA1.x_scaled[1]) * 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 (26): * Single equations (assignments): 26 * 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 9.833e-05/0.3733, allocations: 122.9 kB / 0.5326 GB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003601/0.3737, allocations: 253.2 kB / 0.5329 GB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3737, allocations: 0 / 0.5329 GB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.3739, allocations: 131.3 kB / 0.533 GB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.3742, allocations: 51.2 kB / 0.533 GB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009214/0.3751, allocations: 0.7728 MB / 0.5338 GB, free: 7.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.3753, allocations: 0.807 MB / 0.5346 GB, free: 6.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000159/0.3754, allocations: 60.78 kB / 0.5346 GB, free: 6.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.3755, allocations: 30.58 kB / 0.5347 GB, free: 6.914 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3755, allocations: 0 / 0.5347 GB, free: 6.914 MB / 362.7 MB Notification: Performance of Templates: time 0.004356/0.3799, allocations: 2.641 MB / 0.5373 GB, free: 5.641 MB / 362.7 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1)