Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 84.23 kB / 20.23 MB, free: 4.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 157.3 kB / 23.53 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 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.1092/0.1092, allocations: 18.13 MB / 278.5 MB, free: 11.33 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 356.5 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.562e-05/3.778e-05, allocations: 2.312 kB / 356.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim): time 0.01021/0.01025, allocations: 3.966 MB / 360.5 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004391/0.01464, allocations: 1.286 MB / 361.8 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005492/0.01519, allocations: 23.75 kB / 361.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005492/0.01574, allocations: 174.5 kB / 362 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.01694, allocations: 465 kB / 362.4 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.0181, allocations: 327.3 kB / 362.7 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003125/0.02123, allocations: 2.231 MB / 365 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.02308, allocations: 1.212 MB / 366.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.02509, allocations: 0.8342 MB / 367 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.02713, allocations: 0.873 MB / 367.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000407/0.02754, allocations: 240 kB / 368.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.02799, allocations: 236 kB / 368.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008105/0.0288, allocations: 0.7327 MB / 369.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009934/0.02979, allocations: 0.6901 MB / 369.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003603/0.0334, allocations: 2.716 MB / 372.5 MB, free: 8.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.03341, allocations: 0 / 372.5 MB, free: 8.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.03341, allocations: 0 / 372.5 MB, free: 8.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.118e-05/0.03348, allocations: 0 / 372.5 MB, free: 8.125 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.00604/0.03952, allocations: 1.966 MB / 374.5 MB, free: 6.121 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.03957, allocations: 12.92 kB / 374.5 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005971/0.04017, allocations: 256 kB / 374.7 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.04185, allocations: 0.8217 MB / 375.6 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.04201, allocations: 120.6 kB / 375.7 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.04231, allocations: 136.3 kB / 375.8 MB, free: 4.746 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/0.04577, allocations: 1.627 MB / 377.4 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.0458, allocations: 192 / 377.4 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.04597, allocations: 56.12 kB / 377.5 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.04599, allocations: 28 kB / 377.5 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/0.04887, allocations: 1.423 MB / 378.9 MB, free: 1.574 MB / 298.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(delivery.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.05989, allocations: 4.763 MB / 383.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005682/0.06557, allocations: 1.871 MB / 385.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.06695, allocations: 0.7379 MB / 386.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-05/0.06703, allocations: 17 kB / 386.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.06708, allocations: 43.56 kB / 386.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 3.015e-06/0.06708, allocations: 0 / 386.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.01184/0.07892, allocations: 4.723 MB / 391.1 MB, free: 5.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.079, allocations: 68.34 kB / 391.2 MB, free: 5.191 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.08009, allocations: 0.672 MB / 391.8 MB, free: 4.512 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.08021, allocations: 45.7 kB / 391.9 MB, free: 4.461 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.08069, allocations: 0.5124 MB / 392.4 MB, free: 3.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005248/0.08122, allocations: 452.2 kB / 392.8 MB, free: 3.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005002/0.08172, allocations: 243.6 kB / 393.1 MB, free: 3.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002971/0.08201, allocations: 414.7 kB / 393.5 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.08356, allocations: 0.8625 MB / 394.3 MB, free: 1.969 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.08528, allocations: 1.025 MB / 395.4 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01555/0.1008, allocations: 4.58 MB / 399.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.1008, allocations: 0 / 399.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00555/0.1064, allocations: 2.57 MB / 402.5 MB, free: 9.586 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.1064, allocations: 8 kB / 402.5 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.1064, allocations: 4 kB / 402.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/0.1097, allocations: 0.7034 MB / 403.2 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.1117, allocations: 415.4 kB / 403.6 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1581/0.2698, allocations: 21.11 MB / 424.7 MB, free: 46.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.2711, allocations: 75.59 kB / 424.8 MB, free: 46.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.2712, allocations: 50.28 kB / 424.9 MB, free: 46.66 MB / 330.7 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 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.pipeline.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (162): * Single equations (assignments): 147 * 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.0007547/0.272, allocations: 424.5 kB / 425.3 MB, free: 46.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.2722, allocations: 130.3 kB / 425.4 MB, free: 46.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/0.2762, allocations: 2.021 MB / 427.4 MB, free: 46.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.2762, allocations: 11.19 kB / 427.4 MB, free: 46.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.2762, allocations: 4.031 kB / 427.4 MB, free: 46.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.2762, allocations: 5.438 kB / 427.4 MB, free: 46.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006626/0.2828, allocations: 3.563 MB / 431 MB, free: 44.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.2828, allocations: 3.625 kB / 431 MB, free: 44.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/0.2849, allocations: 352.6 kB / 431.4 MB, free: 44.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/0.2874, allocations: 0.6287 MB / 432 MB, free: 44.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/0.2876, allocations: 63.95 kB / 432 MB, free: 44.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/0.2982, allocations: 20.26 MB / 452.3 MB, free: 25.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2982, allocations: 0 / 452.3 MB, free: 25.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/0.3025, allocations: 2.848 MB / 455.2 MB, free: 23.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.3029, allocations: 108.5 kB / 455.3 MB, free: 23.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.3031, allocations: 69.75 kB / 455.3 MB, free: 23.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007595/0.3038, allocations: 50.33 kB / 455.4 MB, free: 23.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/0.3042, allocations: 107.7 kB / 455.5 MB, free: 23.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.703e-05/0.3042, allocations: 34.91 kB / 455.5 MB, free: 23.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005386/0.3048, allocations: 464.1 kB / 456 MB, free: 23.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3048, allocations: 0 / 456 MB, free: 23.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001469/0.3063, allocations: 452 kB / 456.4 MB, free: 22.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (95): * Single equations (assignments): 80 * 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.0002479/0.3065, allocations: 184.5 kB / 456.6 MB, free: 22.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003532/0.31, allocations: 3.399 MB / 460 MB, free: 19.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.31, allocations: 0 / 460 MB, free: 19.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.3121, allocations: 2.468 MB / 462.5 MB, free: 16.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.3134, allocations: 325.9 kB / 462.8 MB, free: 16.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007242/0.3207, allocations: 4.858 MB / 467.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.3212, allocations: 0.692 MB / 468.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009643/0.3222, allocations: 359.8 kB / 468.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.3226, allocations: 76.5 kB / 468.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/0.3226, allocations: 4 kB / 468.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of Templates: time 0.04164/0.3642, allocations: 25.06 MB / 493.8 MB, free: 1.656 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.042627000017092]