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.001779/0.001779, allocations: 84.23 kB / 20.23 MB, free: 4.199 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.002146/0.002146, allocations: 165.7 kB / 23.54 MB, free: 0.8906 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.492/1.492, allocations: 177.2 MB / 203.9 MB, free: 5.586 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.1236/0.1236, allocations: 18.15 MB / 278.5 MB, free: 11.31 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 3.146e-06/3.146e-06, allocations: 0 / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.409e-05/3.724e-05, allocations: 2.312 kB / 356.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.01099/0.01103, allocations: 3.958 MB / 360.5 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004941/0.01597, allocations: 1.266 MB / 361.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006878/0.01666, allocations: 23.75 kB / 361.8 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008449/0.0175, allocations: 174.6 kB / 361.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.01931, allocations: 457 kB / 362.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.02084, allocations: 327.3 kB / 362.7 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004751/0.0256, allocations: 2.219 MB / 364.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003694/0.02929, allocations: 1.197 MB / 366.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.03192, allocations: 0.8147 MB / 366.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/0.03489, allocations: 0.873 MB / 367.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008247/0.03572, allocations: 240 kB / 368.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009701/0.03669, allocations: 236 kB / 368.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001511/0.0382, allocations: 0.7327 MB / 369 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00222/0.04042, allocations: 0.694 MB / 369.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006037/0.04646, allocations: 2.708 MB / 372.4 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.04646, allocations: 0 / 372.4 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.04647, allocations: 0 / 372.4 MB, free: 8.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.233e-05/0.04653, allocations: 0 / 372.4 MB, free: 8.203 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.00797/0.0545, allocations: 1.966 MB / 374.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.05455, allocations: 16.92 kB / 374.4 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009777/0.05553, allocations: 244 kB / 374.6 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.05765, allocations: 0.8178 MB / 375.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.05785, allocations: 120.6 kB / 375.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004715/0.05832, allocations: 136.3 kB / 375.7 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00386/0.06219, allocations: 1.611 MB / 377.3 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.06222, allocations: 192 / 377.3 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.0624, allocations: 56.12 kB / 377.4 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.06243, allocations: 28 kB / 377.4 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003207/0.06564, allocations: 1.419 MB / 378.8 MB, free: 1.684 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.01251/0.07815, allocations: 4.739 MB / 383.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005617/0.08377, allocations: 1.855 MB / 385.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.08522, allocations: 0.733 MB / 386.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.08532, allocations: 25 kB / 386.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.08536, allocations: 43.56 kB / 386.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 3.126e-06/0.08537, allocations: 0 / 386.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.01202/0.09739, allocations: 4.703 MB / 390.9 MB, free: 5.438 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.09745, allocations: 60.41 kB / 391 MB, free: 5.367 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.09866, allocations: 0.6642 MB / 391.6 MB, free: 4.695 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.09877, allocations: 41.7 kB / 391.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/0.09926, allocations: 0.5123 MB / 392.2 MB, free: 4.129 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005283/0.09979, allocations: 444.3 kB / 392.6 MB, free: 3.691 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004951/0.1003, allocations: 235.6 kB / 392.9 MB, free: 3.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003014/0.1006, allocations: 418.7 kB / 393.3 MB, free: 3.035 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.1022, allocations: 0.8624 MB / 394.1 MB, free: 2.168 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.1039, allocations: 1.013 MB / 395.1 MB, free: 1.082 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01517/0.119, allocations: 4.487 MB / 399.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.1191, allocations: 4 kB / 399.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006394/0.1254, allocations: 2.547 MB / 402.2 MB, free: 9.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.1255, allocations: 4 kB / 402.2 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.1255, allocations: 8 kB / 402.2 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003456/0.129, allocations: 0.7034 MB / 402.9 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.1312, allocations: 403.5 kB / 403.3 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1618/0.293, allocations: 21.11 MB / 424.4 MB, free: 52.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.2947, allocations: 76.94 kB / 424.5 MB, free: 52.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.2949, allocations: 46.61 kB / 424.5 MB, free: 52.07 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.00103/0.2959, allocations: 430.9 kB / 424.9 MB, free: 51.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/0.2963, allocations: 124.4 kB / 425.1 MB, free: 51.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005196/0.3015, allocations: 2.001 MB / 427.1 MB, free: 50.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.3015, allocations: 11.08 kB / 427.1 MB, free: 50.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/0.3016, allocations: 5.156 kB / 427.1 MB, free: 50.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/0.3016, allocations: 4.969 kB / 427.1 MB, free: 50.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009567/0.3111, allocations: 3.526 MB / 430.6 MB, free: 49.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.3112, allocations: 3.469 kB / 430.6 MB, free: 49.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00322/0.3144, allocations: 341.1 kB / 430.9 MB, free: 49.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003367/0.3177, allocations: 0.6333 MB / 431.6 MB, free: 48.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000461/0.3182, allocations: 65.27 kB / 431.6 MB, free: 48.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.3317, allocations: 20.25 MB / 451.9 MB, free: 29.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3317, allocations: 4.531 kB / 451.9 MB, free: 29.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006355/0.3381, allocations: 2.816 MB / 454.7 MB, free: 27.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005719/0.3386, allocations: 111.2 kB / 454.8 MB, free: 27.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/0.3389, allocations: 63.62 kB / 454.9 MB, free: 27.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.34, allocations: 55.69 kB / 454.9 MB, free: 27.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004327/0.3404, allocations: 109.1 kB / 455 MB, free: 27.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.3405, allocations: 31.98 kB / 455.1 MB, free: 27.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005198/0.3411, allocations: 463.1 kB / 455.5 MB, free: 27.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3411, allocations: 0 / 455.5 MB, free: 27.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001451/0.3425, allocations: 448 kB / 456 MB, free: 26.61 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.0002436/0.3427, allocations: 184.9 kB / 456.1 MB, free: 26.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0034/0.3461, allocations: 3.376 MB / 459.5 MB, free: 22.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3462, allocations: 0 / 459.5 MB, free: 22.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.3482, allocations: 2.468 MB / 462 MB, free: 20.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.3494, allocations: 323.4 kB / 462.3 MB, free: 19.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006789/0.3562, allocations: 4.809 MB / 467.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.3568, allocations: 0.6695 MB / 467.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009527/0.3577, allocations: 355.6 kB / 468.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003951/0.3581, allocations: 80.48 kB / 468.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.944e-06/0.3581, allocations: 0 / 468.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of Templates: time 0.03771/0.3958, allocations: 24.89 MB / 493.1 MB, free: 5.438 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.055362473940477]