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.001447/0.001447, allocations: 87.56 kB / 20.97 MB, free: 3.57 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.001645/0.001645, allocations: 177 kB / 24.27 MB, free: 272 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 1.077/1.077, allocations: 177.2 MB / 204.6 MB, free: 5.637 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.07463/0.07463, allocations: 18.14 MB / 279.2 MB, free: 11.39 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.104e-06/2.104e-06, allocations: 0 / 357.3 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.366e-05, allocations: 6.312 kB / 357.3 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim): time 0.01342/0.01345, allocations: 4.371 MB / 361.6 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.01593, allocations: 1.29 MB / 362.9 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003482/0.01942, allocations: 23.75 kB / 362.9 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.01976, allocations: 174.5 kB / 363.1 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006743/0.02043, allocations: 468.9 kB / 363.6 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006999/0.02113, allocations: 327.3 kB / 363.9 MB, free: 1.523 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004972/0.0261, allocations: 2.235 MB / 366.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.02746, allocations: 1.22 MB / 367.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.02858, allocations: 0.8537 MB / 368.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.02985, allocations: 0.9276 MB / 369.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003382/0.03018, allocations: 228 kB / 369.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.03047, allocations: 232 kB / 369.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005249/0.03099, allocations: 0.7289 MB / 370.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007648/0.03176, allocations: 0.694 MB / 371 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.03322, allocations: 1.519 MB / 372.5 MB, free: 8.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.03322, allocations: 3.984 kB / 372.5 MB, free: 8.836 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.03322, allocations: 4 kB / 372.5 MB, free: 8.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.151e-05/0.03325, allocations: 0 / 372.5 MB, free: 8.832 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.003286/0.03654, allocations: 2.07 MB / 374.6 MB, free: 6.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.03658, allocations: 12.92 kB / 374.6 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/0.03697, allocations: 252 kB / 374.9 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.03805, allocations: 0.7815 MB / 375.6 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.03816, allocations: 124.6 kB / 375.8 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.03837, allocations: 132.3 kB / 375.9 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.03997, allocations: 0.862 MB / 376.8 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.04, allocations: 192 / 376.8 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.04011, allocations: 48.12 kB / 376.8 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.04014, allocations: 28 kB / 376.8 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.04135, allocations: 0.4979 MB / 377.3 MB, free: 3.906 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.006193/0.04754, allocations: 3.739 MB / 381.1 MB, free: 104 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.05047, allocations: 1.143 MB / 382.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/0.05102, allocations: 270.5 kB / 382.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.482e-05/0.05108, allocations: 28.98 kB / 382.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.05111, allocations: 46.39 kB / 382.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 2.755e-06/0.05112, allocations: 0 / 382.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.005711/0.05683, allocations: 2.591 MB / 385.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.05687, allocations: 68.34 kB / 385.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006625/0.05753, allocations: 0.6244 MB / 385.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.0576, allocations: 41.7 kB / 385.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/0.05796, allocations: 0.5775 MB / 386.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000409/0.05837, allocations: 460.2 kB / 386.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.05867, allocations: 253.2 kB / 387.1 MB, free: 9.852 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.05887, allocations: 0.5938 MB / 387.7 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005436/0.05941, allocations: 338.2 kB / 388.1 MB, free: 8.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.06001, allocations: 0.5562 MB / 388.6 MB, free: 8.254 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.06155, allocations: 1.116 MB / 389.7 MB, free: 7.035 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.06156, allocations: 0 / 389.7 MB, free: 7.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002014/0.06357, allocations: 1.351 MB / 391.1 MB, free: 5.613 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.06359, allocations: 4 kB / 391.1 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.0636, allocations: 8 kB / 391.1 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.06508, allocations: 0.5535 MB / 391.7 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009824/0.06606, allocations: 407.5 kB / 392.1 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.152/0.2181, allocations: 26.67 MB / 418.7 MB, free: 53.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.2191, allocations: 71.84 kB / 418.8 MB, free: 53.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.2192, allocations: 53.84 kB / 418.8 MB, free: 53.95 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.000499/0.2197, allocations: 246.3 kB / 419.1 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.2199, allocations: 129.8 kB / 419.2 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.222, allocations: 1.139 MB / 420.3 MB, free: 53.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.222, allocations: 12.03 kB / 420.4 MB, free: 53.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.222, allocations: 4.156 kB / 420.4 MB, free: 53.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.2221, allocations: 5.344 kB / 420.4 MB, free: 53.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/0.2263, allocations: 2.401 MB / 422.8 MB, free: 52.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.2263, allocations: 3.812 kB / 422.8 MB, free: 52.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/0.2278, allocations: 349.8 kB / 423.1 MB, free: 52.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.2292, allocations: 0.5137 MB / 423.6 MB, free: 52.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.2294, allocations: 64.05 kB / 423.7 MB, free: 52.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007468/0.2369, allocations: 26.12 MB / 449.8 MB, free: 26.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.2369, allocations: 2.938 kB / 449.8 MB, free: 26.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002874/0.2397, allocations: 1.618 MB / 451.4 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.24, allocations: 105.8 kB / 451.5 MB, free: 25.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.2402, allocations: 63.16 kB / 451.6 MB, free: 25.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005527/0.2407, allocations: 49.44 kB / 451.6 MB, free: 25.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/0.241, allocations: 109.5 kB / 451.8 MB, free: 25.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.853e-05/0.2411, allocations: 38.12 kB / 451.8 MB, free: 25.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004759/0.2416, allocations: 409.5 kB / 452.2 MB, free: 25.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2416, allocations: 0.5 kB / 452.2 MB, free: 25.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001501/0.2431, allocations: 448.6 kB / 452.6 MB, free: 25.04 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.0002358/0.2433, allocations: 188.4 kB / 452.8 MB, free: 24.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002322/0.2457, allocations: 3.324 MB / 456.1 MB, free: 22.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2457, allocations: 0 / 456.1 MB, free: 22.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.247, allocations: 2.892 MB / 459 MB, free: 19.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009466/0.248, allocations: 293.8 kB / 459.3 MB, free: 19.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006123/0.2541, allocations: 4.17 MB / 463.5 MB, free: 16.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.2545, allocations: 334.1 kB / 463.8 MB, free: 16.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008506/0.2553, allocations: 289.9 kB / 464.1 MB, free: 16.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.2556, allocations: 76.48 kB / 464.2 MB, free: 16.1 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.2556, allocations: 0 / 464.2 MB, free: 16.1 MB / 330.7 MB Notification: Performance of Templates: time 0.0343/0.2899, allocations: 25.06 MB / 489.2 MB, free: 7.422 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.020610210020095]