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.001311/0.001311, allocations: 111 kB / 16.42 MB, free: 6.484 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.00138/0.00138, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09483/0.09483, allocations: 22.32 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08653/0.0878, allocations: 54.95 MB / 492.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops): time 0.003643/0.09147, allocations: 2.762 MB / 495.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008279/0.09232, allocations: 494.5 kB / 495.9 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.09246, allocations: 4 kB / 495.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.09257, allocations: 55.39 kB / 496 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.09286, allocations: 91.17 kB / 496.1 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.09331, allocations: 255 kB / 496.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000446/0.09376, allocations: 487 kB / 496.8 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/0.09408, allocations: 210.6 kB / 497 MB, free: 404 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.09423, allocations: 171.3 kB / 497.2 MB, free: 232 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.09445, allocations: 191.1 kB / 497.4 MB, free: 40 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.374e-05/0.09453, allocations: 44.05 kB / 497.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.869e-05/0.0946, allocations: 44 kB / 497.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.09469, allocations: 99.56 kB / 497.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.09485, allocations: 198.9 kB / 497.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.09526, allocations: 482.3 kB / 498.2 MB, free: 15.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.09527, allocations: 0 / 498.2 MB, free: 15.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.09528, allocations: 0 / 498.2 MB, free: 15.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.09529, allocations: 0 / 498.2 MB, free: 15.19 MB / 382.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.001073/0.09637, allocations: 0.7208 MB / 498.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.09641, allocations: 8.031 kB / 498.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.733e-05/0.0965, allocations: 44.47 kB / 499 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.0969, allocations: 347.2 kB / 499.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.09694, allocations: 33.03 kB / 499.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.097, allocations: 28.38 kB / 499.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.09768, allocations: 387.2 kB / 499.8 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.0977, allocations: 192 / 499.8 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.09774, allocations: 15.94 kB / 499.8 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.09776, allocations: 12 kB / 499.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/0.09838, allocations: 266.5 kB / 0.4883 GB, free: 13.24 MB / 382.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.001782/0.1002, allocations: 1.482 MB / 0.4898 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.1008, allocations: 290.4 kB / 0.4901 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.1011, allocations: 152.8 kB / 0.4902 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.1011, allocations: 11.92 kB / 0.4902 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1012, allocations: 30.56 kB / 0.4902 GB, free: 11.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.773e-06/0.1012, allocations: 4 kB / 0.4902 GB, free: 11.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009461/0.1021, allocations: 413.6 kB / 0.4906 GB, free: 10.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.1022, allocations: 132.5 kB / 0.4908 GB, free: 10.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.1025, allocations: 271 kB / 0.491 GB, free: 10.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.1025, allocations: 29.7 kB / 0.491 GB, free: 10.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1026, allocations: 208.3 kB / 0.4912 GB, free: 10.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.445e-05/0.1027, allocations: 102.5 kB / 0.4913 GB, free: 9.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.834e-05/0.1028, allocations: 57.97 kB / 0.4914 GB, free: 9.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.103, allocations: 346.8 kB / 0.4917 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.1032, allocations: 121.5 kB / 0.4918 GB, free: 9.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.1036, allocations: 164.8 kB / 0.492 GB, free: 9.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/0.1057, allocations: 0.5767 MB / 0.4926 GB, free: 8.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1057, allocations: 0 / 0.4926 GB, free: 8.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007016/0.1065, allocations: 356.8 kB / 0.4929 GB, free: 8.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1065, allocations: 8 kB / 0.4929 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1065, allocations: 0 / 0.4929 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1065, allocations: 0 / 0.4929 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.1069, allocations: 75.92 kB / 0.493 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1069, allocations: 7.938 kB / 0.493 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.1071, allocations: 31.77 kB / 0.493 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.1072, allocations: 19.98 kB / 0.493 GB, free: 8.121 MB / 382.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 = 0.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002849/0.1075, allocations: 200.8 kB / 0.4932 GB, free: 7.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001769/0.1076, allocations: 125 kB / 0.4934 GB, free: 7.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00169/0.1093, allocations: 489.9 kB / 0.4938 GB, free: 7.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.1094, allocations: 0 / 0.4938 GB, free: 7.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004144/0.1098, allocations: 281.1 kB / 0.4941 GB, free: 7.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.1098, allocations: 4 kB / 0.4941 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-06/0.1098, allocations: 0 / 0.4941 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-06/0.1098, allocations: 8.031 kB / 0.4941 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.1101, allocations: 59.91 kB / 0.4942 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.1101, allocations: 0 / 0.4942 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.1103, allocations: 27.83 kB / 0.4942 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1103, allocations: 8 kB / 0.4942 GB, free: 6.914 MB / 382.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 = 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.0001559/0.1105, allocations: 211.4 kB / 0.4944 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.1106, allocations: 31.62 kB / 0.4944 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007484/0.1113, allocations: 352.8 kB / 0.4948 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.1113, allocations: 7.984 kB / 0.4948 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1113, allocations: 0 / 0.4948 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.1114, allocations: 112.5 kB / 0.4949 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.1115, allocations: 12 kB / 0.4949 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.1117, allocations: 23.97 kB / 0.4949 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.1118, allocations: 19.95 kB / 0.4949 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001068/0.1129, allocations: 440.6 kB / 0.4954 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001035/0.1139, allocations: 0.6393 MB / 0.496 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002923/0.1142, allocations: 144.2 kB / 0.4961 GB, free: 4.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1144, allocations: 202 kB / 0.4963 GB, free: 4.703 MB / 382.1 MB Notification: Performance of Backend: time 6.91e-07/0.1144, allocations: 0 / 0.4963 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009009/0.1153, allocations: 378 kB / 0.4967 GB, free: 4.328 MB / 382.1 MB Notification: Performance of SimCode: time 0.001408/0.1167, allocations: 1.196 MB / 0.4978 GB, free: 3.086 MB / 382.1 MB Notification: Performance of Templates: time 0.1789/0.2957, allocations: 5.388 MB / 0.5031 GB, free: 21.94 MB / 382.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)