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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.09238/0.09238, allocations: 21.61 MB / 37.4 MB, free: 0.7617 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 184.5 kB / 43.63 MB, free: 3.578 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.1 MB / 254.8 MB, free: 14.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008711/0.0008711, allocations: 102.3 kB / 307.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 52.72 kB / 372.3 MB, free: 59.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07769/0.07872, allocations: 51.97 MB / 424.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.002506/0.08127, allocations: 2.055 MB / 426.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.08211, allocations: 0.7257 MB / 427.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.308e-05/0.08221, allocations: 3.938 kB / 427.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.08251, allocations: 63.67 kB / 427.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.08272, allocations: 83.66 kB / 427.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.08294, allocations: 147.8 kB / 427.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.08324, allocations: 439.5 kB / 427.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.08338, allocations: 77.97 kB / 427.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.08352, allocations: 159.5 kB / 428 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.08372, allocations: 203.2 kB / 428.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.08377, allocations: 23.94 kB / 428.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.422e-05/0.08382, allocations: 12 kB / 428.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.551e-05/0.08392, allocations: 95.64 kB / 428.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.392e-05/0.08401, allocations: 119.2 kB / 428.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.08419, allocations: 278.9 kB / 428.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.0842, allocations: 0 / 428.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.08421, allocations: 0 / 428.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.08422, allocations: 0 / 428.7 MB, free: 10.03 MB / 298.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.001546/0.08577, allocations: 0.7596 MB / 429.5 MB, free: 9.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.0858, allocations: 8.031 kB / 429.5 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.08586, allocations: 40.47 kB / 429.6 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007957/0.08666, allocations: 423.8 kB / 430 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.08669, allocations: 12.7 kB / 430 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.08673, allocations: 20.38 kB / 430 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.08699, allocations: 204.4 kB / 430.2 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.08702, allocations: 0 / 430.2 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.08704, allocations: 19.88 kB / 430.2 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.08705, allocations: 4 kB / 430.2 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.08735, allocations: 195.8 kB / 430.4 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/0.08828, allocations: 0.6953 MB / 431.1 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005906/0.08888, allocations: 312.8 kB / 431.4 MB, free: 7.207 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.08905, allocations: 128.7 kB / 431.5 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.08909, allocations: 7.984 kB / 431.5 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.207e-05/0.08911, allocations: 38.5 kB / 431.6 MB, free: 7.023 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.292e-06/0.08912, allocations: 4 kB / 431.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005483/0.08967, allocations: 361.4 kB / 431.9 MB, free: 6.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.0897, allocations: 59.41 kB / 432 MB, free: 6.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007548/0.09046, allocations: 416.4 kB / 432.4 MB, free: 6.176 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.09049, allocations: 33.7 kB / 432.4 MB, free: 6.137 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.09055, allocations: 164.3 kB / 432.6 MB, free: 5.969 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.09061, allocations: 86.75 kB / 432.7 MB, free: 5.883 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.09068, allocations: 49.69 kB / 432.7 MB, free: 5.828 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.09074, allocations: 342.8 kB / 433.1 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.09088, allocations: 91.92 kB / 433.2 MB, free: 5.395 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.09101, allocations: 104.6 kB / 433.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.0931, allocations: 0.6611 MB / 433.9 MB, free: 4.629 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.09311, allocations: 0 / 433.9 MB, free: 4.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003987/0.09352, allocations: 333.1 kB / 434.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.09354, allocations: 4 kB / 434.3 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.09355, allocations: 3.938 kB / 434.3 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.09357, allocations: 4 kB / 434.3 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.09381, allocations: 47.97 kB / 434.3 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.09383, allocations: 3.984 kB / 434.3 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.09419, allocations: 67.77 kB / 434.4 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.09422, allocations: 8 kB / 434.4 MB, free: 4.16 MB / 298.7 MB Warning: Assuming fixed start value for the following 7 variables: 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 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] 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.09439, allocations: 175.6 kB / 434.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.09446, allocations: 31.56 kB / 434.6 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.09496, allocations: 324 kB / 434.9 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.09497, allocations: 4 kB / 434.9 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.09498, allocations: 4 kB / 434.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.09499, allocations: 7.984 kB / 434.9 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.0953, allocations: 369.2 kB / 435.3 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.09531, allocations: 3.938 kB / 435.3 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.09559, allocations: 51.84 kB / 435.3 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.0956, allocations: 4 kB / 435.3 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.09563, allocations: 11.98 kB / 435.3 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.09564, allocations: 3.938 kB / 435.4 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.09565, allocations: 0 / 435.4 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004657/0.1003, allocations: 3.232 MB / 438.6 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.647e-05/0.1004, allocations: 116.7 kB / 438.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.1005, allocations: 8 kB / 438.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.1009, allocations: 55.86 kB / 438.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.1009, allocations: 15.97 kB / 438.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.1009, allocations: 8 kB / 438.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007096/0.1017, allocations: 334.9 kB / 439.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1017, allocations: 0 / 439.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003749/0.1021, allocations: 83.84 kB / 439.2 MB, free: 15.13 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.876e-05/0.1022, allocations: 99.25 kB / 439.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004396/0.1026, allocations: 259.7 kB / 439.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1026, allocations: 4 kB / 439.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.1028, allocations: 131.8 kB / 439.7 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.1033, allocations: 68.2 kB / 439.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1047, allocations: 0.9978 MB / 440.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.105, allocations: 0.8109 MB / 441.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002/0.1052, allocations: 67.25 kB / 441.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1053, allocations: 31.42 kB / 441.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1053, allocations: 4 kB / 441.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of Templates: time 0.00729/0.1126, allocations: 3.887 MB / 445.5 MB, free: 8.703 MB / 314.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)