Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09755/0.09755, allocations: 22.69 MB / 327.2 MB, free: 7.316 MB / 254.1 MB " [Timeout remaining time 180] 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_Generation.Heater_control_case_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 70.86 kB / 460.6 MB, free: 40.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1229, allocations: 58.03 MB / 0.5065 GB, free: 6.699 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_004): time 0.004102/0.127, allocations: 4.44 MB / 0.5108 GB, free: 2.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1293, allocations: 1.282 MB / 0.5121 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005124/0.1298, allocations: 15.88 kB / 0.5121 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.1302, allocations: 178.5 kB / 0.5123 GB, free: 0.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006663/0.1308, allocations: 449.5 kB / 0.5127 GB, free: 316 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007655/0.1316, allocations: 307.6 kB / 0.513 GB, free: 8 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00242/0.134, allocations: 2.173 MB / 0.5151 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.1357, allocations: 1.161 MB / 0.5163 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.1371, allocations: 0.8495 MB / 0.5171 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.1387, allocations: 0.9972 MB / 0.5181 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003565/0.1391, allocations: 228 kB / 0.5183 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.1395, allocations: 235.9 kB / 0.5185 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006673/0.1402, allocations: 0.6975 MB / 0.5192 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.1412, allocations: 0.9145 MB / 0.5201 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002634/0.1438, allocations: 2.578 MB / 0.5226 GB, free: 6.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1438, allocations: 0 / 0.5226 GB, free: 6.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1438, allocations: 0 / 0.5226 GB, free: 6.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.823e-05/0.1439, allocations: 4 kB / 0.5226 GB, free: 6.113 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.004858/0.1487, allocations: 2.041 MB / 0.5246 GB, free: 4.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1488, allocations: 12.75 kB / 0.5246 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.1491, allocations: 156 kB / 0.5247 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.1506, allocations: 0.8647 MB / 0.5256 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.1507, allocations: 124.6 kB / 0.5257 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/0.151, allocations: 136.3 kB / 0.5258 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003066/0.1541, allocations: 1.589 MB / 0.5274 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.1541, allocations: 0 / 0.5274 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.1543, allocations: 52 kB / 0.5274 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.1543, allocations: 32 kB / 0.5275 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.1568, allocations: 1.403 MB / 0.5288 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/0.169, allocations: 7.095 MB / 0.5358 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/0.1741, allocations: 1.862 MB / 0.5376 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.1754, allocations: 0.7234 MB / 0.5383 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.44e-05/0.1755, allocations: 13 kB / 0.5383 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.1756, allocations: 55.48 kB / 0.5384 GB, free: 5.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=103): time 2.846e-06/0.1756, allocations: 0 / 0.5384 GB, free: 5.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=103): time 0.00794/0.1835, allocations: 3.917 MB / 0.5422 GB, free: 1.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1836, allocations: 64.41 kB / 0.5422 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.1849, allocations: 0.68 MB / 0.5429 GB, free: 296 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.185, allocations: 45.7 kB / 0.543 GB, free: 244 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/0.1855, allocations: 0.5279 MB / 0.5435 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005544/0.186, allocations: 436.4 kB / 0.5439 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004676/0.1865, allocations: 239.5 kB / 0.5441 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002556/0.1868, allocations: 414.7 kB / 0.5445 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.1882, allocations: 0.8468 MB / 0.5453 GB, free: 13.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.1897, allocations: 0.9967 MB / 0.5463 GB, free: 12.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01423/0.204, allocations: 4.459 MB / 0.5507 GB, free: 8.172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.204, allocations: 0 / 0.5507 GB, free: 8.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005467/0.2094, allocations: 2.465 MB / 0.5531 GB, free: 5.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.2095, allocations: 8 kB / 0.5531 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.2095, allocations: 8.031 kB / 0.5531 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.2115, allocations: 0.5433 MB / 0.5536 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.2137, allocations: 415.4 kB / 0.554 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02122/0.235, allocations: 23.05 MB / 0.5765 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.2364, allocations: 147 kB / 0.5767 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.2365, allocations: 51.98 kB / 0.5767 GB, free: 11.23 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: CH.Ec:VARIABLE(flow=false fixed = true ) type: Real CH.Tfo:VARIABLE(min = 0.0 start = CH.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real CH.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009408/0.2375, allocations: 430.2 kB / 0.5771 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.2377, allocations: 103.4 kB / 0.5772 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/0.2415, allocations: 1.979 MB / 0.5792 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.2416, allocations: 12 kB / 0.5792 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.2416, allocations: 4 kB / 0.5792 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.2416, allocations: 3.984 kB / 0.5792 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006531/0.2481, allocations: 3.701 MB / 0.5828 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.2481, allocations: 4 kB / 0.5828 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/0.2502, allocations: 343.6 kB / 0.5831 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.2516, allocations: 476.8 kB / 0.5836 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.2518, allocations: 67.97 kB / 0.5836 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01811/0.2699, allocations: 22.17 MB / 0.6053 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2699, allocations: 3.938 kB / 0.6053 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005252/0.2751, allocations: 2.737 MB / 0.608 GB, free: 8.805 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/0.2755, allocations: 196.3 kB / 0.6081 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.2758, allocations: 63.97 kB / 0.6082 GB, free: 8.531 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007421/0.2765, allocations: 51.94 kB / 0.6083 GB, free: 8.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003517/0.2768, allocations: 96.75 kB / 0.6084 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.2769, allocations: 31.98 kB / 0.6084 GB, free: 8.355 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007049/0.2777, allocations: 479 kB / 0.6088 GB, free: 7.887 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2777, allocations: 0 / 0.6088 GB, free: 7.887 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001709/0.2794, allocations: 0.5032 MB / 0.6093 GB, free: 7.383 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 43 (CH.Tfo,CH.Ec,CH.xpi,pipeline.fluidStream.T[1],pipeline.fluidStream.T[2],pipeline.fluidStream.T[3],pipeline.fluidStream.T[4],pipeline.fluidStream.T[5],pipeline.wall.wall.T[1,1],pipeline.wall.wall.T[1,2],pipeline.wall.wall.T[1,3],pipeline.wall.wall.T[2,1],pipeline.wall.wall.T[2,2],pipeline.wall.wall.T[2,3],pipeline.wall.wall.T[3,1],pipeline.wall.wall.T[3,2],pipeline.wall.wall.T[3,3],pipeline.wall.wall.T[4,1],pipeline.wall.wall.T[4,2],pipeline.wall.wall.T[4,3],pipeline.wall.wall.T[5,1],pipeline.wall.wall.T[5,2],pipeline.wall.wall.T[5,3],delivery.fluidStream.T[1],delivery.fluidStream.T[2],delivery.fluidStream.T[3],delivery.fluidStream.T[4],delivery.fluidStream.T[5],delivery.wall.wall.T[1,1],delivery.wall.wall.T[1,2],delivery.wall.wall.T[1,3],delivery.wall.wall.T[2,1],delivery.wall.wall.T[2,2],delivery.wall.wall.T[2,3],delivery.wall.wall.T[3,1],delivery.wall.wall.T[3,2],delivery.wall.wall.T[3,3],delivery.wall.wall.T[4,1],delivery.wall.wall.T[4,2],delivery.wall.wall.T[4,3],delivery.wall.wall.T[5,1],delivery.wall.wall.T[5,2],delivery.wall.wall.T[5,3]) * 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 (92): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002951/0.2797, allocations: 184.2 kB / 0.6095 GB, free: 7.191 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004809/0.2845, allocations: 3.35 MB / 0.6128 GB, free: 3.648 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.2845, allocations: 0 / 0.6128 GB, free: 3.648 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003029/0.2875, allocations: 2.452 MB / 0.6152 GB, free: 1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.2888, allocations: 317.1 kB / 0.6155 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2589/0.5477, allocations: 5.634 MB / 0.621 GB, free: 100.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007176/0.5485, allocations: 1.267 MB / 0.6222 GB, free: 99.65 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001166/0.5496, allocations: 369.5 kB / 0.6226 GB, free: 99.61 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.5499, allocations: 80.61 kB / 0.6226 GB, free: 99.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5499, allocations: 0 / 0.6226 GB, free: 99.6 MB / 478.1 MB Notification: Performance of Templates: time 0.03493/0.5849, allocations: 23.84 MB / 0.6459 GB, free: 88.05 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.sim & ./AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.010036021471024]