Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.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.001459/0.001459, allocations: 81.09 kB / 20.67 MB, free: 3.824 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.00109/0.00109, allocations: 177 kB / 24.08 MB, free: 432 kB / 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 0.9956/0.9956, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.06464/0.06464, allocations: 18.14 MB / 279.2 MB, free: 11.16 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_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 357.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.125e-05, allocations: 9.266 kB / 357.8 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.00411/0.004141, allocations: 4.289 MB / 362.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.006935, allocations: 1.29 MB / 363.4 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004249/0.00736, allocations: 19.81 kB / 363.4 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.007656, allocations: 178.5 kB / 363.6 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005501/0.008206, allocations: 464.9 kB / 364 MB, free: 1.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.00889, allocations: 327.3 kB / 364.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001867/0.01076, allocations: 2.212 MB / 366.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.01233, allocations: 1.208 MB / 367.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.01414, allocations: 0.8304 MB / 368.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.01551, allocations: 0.9316 MB / 369.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.01577, allocations: 239.9 kB / 369.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008073/0.01658, allocations: 236 kB / 370 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005221/0.0171, allocations: 0.7289 MB / 370.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006665/0.01777, allocations: 0.7057 MB / 371.4 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.01886, allocations: 1.527 MB / 372.9 MB, free: 8.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01886, allocations: 0 / 372.9 MB, free: 8.254 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01886, allocations: 0 / 372.9 MB, free: 8.254 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.01887, allocations: 0 / 372.9 MB, free: 8.254 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.002148/0.02102, allocations: 1.926 MB / 374.9 MB, free: 6.285 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.02106, allocations: 8.922 kB / 374.9 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.02132, allocations: 244 kB / 375.1 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006887/0.02201, allocations: 0.7089 MB / 375.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/0.02209, allocations: 116.6 kB / 375.9 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.02226, allocations: 132.3 kB / 376.1 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009152/0.02317, allocations: 0.7524 MB / 376.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.02319, allocations: 8.078 kB / 376.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.093e-05/0.02327, allocations: 48.12 kB / 376.9 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.02329, allocations: 32 kB / 376.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009892/0.02428, allocations: 401.6 kB / 377.3 MB, free: 3.762 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.004182/0.02846, allocations: 3.559 MB / 380.9 MB, free: 140 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.03026, allocations: 0.9852 MB / 381.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.03055, allocations: 214.5 kB / 382.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.609e-05/0.03061, allocations: 28.92 kB / 382.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.03063, allocations: 50.33 kB / 382.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.204e-06/0.03064, allocations: 4 kB / 382.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.0036/0.03424, allocations: 2.243 MB / 384.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.03426, allocations: 60.41 kB / 384.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/0.03466, allocations: 0.6084 MB / 385 MB, free: 11.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.03472, allocations: 45.7 kB / 385.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.03497, allocations: 0.5696 MB / 385.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.03523, allocations: 460.2 kB / 386.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.03549, allocations: 253.1 kB / 386.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.0357, allocations: 0.613 MB / 387 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.03605, allocations: 282.1 kB / 387.2 MB, free: 9.562 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.03649, allocations: 0.4897 MB / 387.7 MB, free: 8.973 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.03756, allocations: 0.9562 MB / 388.7 MB, free: 7.914 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.03757, allocations: 4 kB / 388.7 MB, free: 7.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001445/0.03901, allocations: 1.214 MB / 389.9 MB, free: 6.625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.03903, allocations: 8 kB / 389.9 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.03904, allocations: 11.98 kB / 389.9 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.04017, allocations: 0.5417 MB / 390.5 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007948/0.04096, allocations: 375.5 kB / 390.8 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1624/0.2034, allocations: 26.33 MB / 417.2 MB, free: 48.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007739/0.2041, allocations: 45.88 kB / 417.2 MB, free: 48.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/0.2042, allocations: 34.08 kB / 417.2 MB, free: 48.71 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 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 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 (159): * Single equations (assignments): 144 * 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.0003905/0.2046, allocations: 242.8 kB / 417.5 MB, free: 48.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.2048, allocations: 127.5 kB / 417.6 MB, free: 48.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.2061, allocations: 1.041 MB / 418.6 MB, free: 48.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.2061, allocations: 10.5 kB / 418.7 MB, free: 48.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.2061, allocations: 4.031 kB / 418.7 MB, free: 48.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.2061, allocations: 9.953 kB / 418.7 MB, free: 48.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.2087, allocations: 2.112 MB / 420.8 MB, free: 47.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.2087, allocations: 2.969 kB / 420.8 MB, free: 47.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009424/0.2097, allocations: 308.5 kB / 421.1 MB, free: 47.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.2108, allocations: 0.504 MB / 421.6 MB, free: 47.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.2109, allocations: 62.42 kB / 421.7 MB, free: 47.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005473/0.2164, allocations: 25.82 MB / 447.5 MB, free: 22.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2164, allocations: 7.062 kB / 447.5 MB, free: 22.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.2181, allocations: 1.473 MB / 448.9 MB, free: 21.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.515e-05/0.2182, allocations: 101.9 kB / 449 MB, free: 21.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.2183, allocations: 54.62 kB / 449.1 MB, free: 21.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.2186, allocations: 28.27 kB / 449.1 MB, free: 21.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.2188, allocations: 106.8 kB / 449.2 MB, free: 21.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/0.2188, allocations: 27.08 kB / 449.3 MB, free: 21.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002232/0.2191, allocations: 372.9 kB / 449.6 MB, free: 21.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2191, allocations: 0 / 449.6 MB, free: 21.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001046/0.2201, allocations: 450.8 kB / 450.1 MB, free: 21.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 42 (CH.Tfo,CH.Ec,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.0002079/0.2203, allocations: 181.5 kB / 450.2 MB, free: 21.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.2218, allocations: 3.234 MB / 453.5 MB, free: 18.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2218, allocations: 0.5469 kB / 453.5 MB, free: 18.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009666/0.2228, allocations: 2.863 MB / 456.3 MB, free: 16.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.2235, allocations: 292.8 kB / 456.6 MB, free: 16.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.2276, allocations: 3.985 MB / 460.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.2278, allocations: 338.5 kB / 460.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003382/0.2281, allocations: 114.3 kB / 461.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/0.2287, allocations: 346.2 kB / 461.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.393e-06/0.2287, allocations: 0.5625 kB / 461.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of Templates: time 0.02774/0.2564, allocations: 26.89 MB / 488.3 MB, free: 4.129 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8754460611380637]