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.001094/0.001094, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.001241/0.001241, allocations: 165.6 kB / 23.98 MB, free: 0.582 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 0.8468/0.8468, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.06044/0.06044, allocations: 18.12 MB / 278.8 MB, free: 11.55 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 1.412e-06/1.412e-06, allocations: 0 / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.636e-05, allocations: 6.219 kB / 416.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.003588/0.003614, allocations: 3.942 MB / 420.3 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.006035, allocations: 1.273 MB / 421.5 MB, free: 8.902 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004609/0.006496, allocations: 25.22 kB / 421.6 MB, free: 8.887 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.006818, allocations: 175.6 kB / 421.7 MB, free: 8.777 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006474/0.007465, allocations: 455.9 kB / 422.2 MB, free: 8.492 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008101/0.008275, allocations: 325.3 kB / 422.5 MB, free: 8.297 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001935/0.01021, allocations: 2.21 MB / 424.7 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.01177, allocations: 1.164 MB / 425.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.01333, allocations: 0.8213 MB / 426.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.01489, allocations: 0.8709 MB / 427.6 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005992/0.01549, allocations: 236.9 kB / 427.8 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.01587, allocations: 236.8 kB / 428 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005203/0.01639, allocations: 0.7323 MB / 428.8 MB, free: 5.547 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.0176, allocations: 0.6914 MB / 429.5 MB, free: 5.215 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.02011, allocations: 2.71 MB / 432.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.02011, allocations: 0 / 432.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.02011, allocations: 0 / 432.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.516e-05/0.02019, allocations: 5.344 kB / 432.2 MB, free: 4.031 MB / 330.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.003826/0.02401, allocations: 1.958 MB / 434.1 MB, free: 2.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.02407, allocations: 9.984 kB / 434.1 MB, free: 2.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003147/0.02438, allocations: 152 kB / 434.3 MB, free: 2.676 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.02544, allocations: 0.8051 MB / 435.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.543e-05/0.02554, allocations: 117.7 kB / 435.2 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.02574, allocations: 140.5 kB / 435.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.02772, allocations: 1.607 MB / 436.9 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.02774, allocations: 5.281 kB / 437 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.314e-05/0.02784, allocations: 53.78 kB / 437 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.02786, allocations: 28.34 kB / 437 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.02947, allocations: 1.416 MB / 438.5 MB, free: 208 kB / 330.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.006621/0.03609, allocations: 4.712 MB / 443.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.03873, allocations: 1.871 MB / 445 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/0.0395, allocations: 0.7252 MB / 445.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.26e-05/0.03956, allocations: 13 kB / 445.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.03959, allocations: 51.48 kB / 445.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 3.326e-06/0.03959, allocations: 3.984 kB / 445.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=105): time 0.006181/0.04578, allocations: 4.657 MB / 450.5 MB, free: 5.754 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.04581, allocations: 64.41 kB / 450.5 MB, free: 5.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006685/0.04648, allocations: 0.6642 MB / 451.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/0.04655, allocations: 45.7 kB / 451.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.04679, allocations: 0.5201 MB / 451.8 MB, free: 4.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.04714, allocations: 436.3 kB / 452.2 MB, free: 4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.04742, allocations: 247.5 kB / 452.4 MB, free: 3.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.04755, allocations: 410.7 kB / 452.8 MB, free: 3.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008744/0.04843, allocations: 0.8592 MB / 453.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009102/0.04934, allocations: 1.029 MB / 454.7 MB, free: 1.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007132/0.05647, allocations: 4.483 MB / 459.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.05648, allocations: 0 / 459.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002946/0.05942, allocations: 2.481 MB / 461.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.05945, allocations: 11.94 kB / 461.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.05946, allocations: 8 kB / 461.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009126/0.06037, allocations: 0.5336 MB / 462.2 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009412/0.06132, allocations: 407.5 kB / 462.6 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.07139, allocations: 21.07 MB / 483.7 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.0725, allocations: 75.83 kB / 483.8 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/0.07259, allocations: 55.92 kB / 483.8 MB, free: 2.492 MB / 378.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.0007879/0.07338, allocations: 421.2 kB / 484.3 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.07352, allocations: 103.4 kB / 484.4 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.0758, allocations: 1.998 MB / 486.4 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.07581, allocations: 8 kB / 486.4 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.07581, allocations: 4 kB / 486.4 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.07582, allocations: 7.969 kB / 486.4 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00425/0.08007, allocations: 3.515 MB / 489.9 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.08008, allocations: 4 kB / 489.9 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.0811, allocations: 347.9 kB / 490.2 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006738/0.08178, allocations: 484.4 kB / 490.7 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.0819, allocations: 67.95 kB / 490.8 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008885/0.09078, allocations: 20.2 MB / 0.499 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.09079, allocations: 4 kB / 0.499 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/0.09419, allocations: 2.791 MB / 0.5017 GB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.09446, allocations: 107.4 kB / 0.5018 GB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.0946, allocations: 59.98 kB / 0.5019 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.09503, allocations: 51.92 kB / 0.5019 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.09526, allocations: 104.7 kB / 0.502 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.09532, allocations: 35.98 kB / 0.5021 GB, free: 2.348 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004224/0.09574, allocations: 471 kB / 0.5025 GB, free: 1.891 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.09574, allocations: 0 / 0.5025 GB, free: 1.891 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001255/0.097, allocations: 448 kB / 0.5029 GB, free: 1.453 MB / 410.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.000231/0.09723, allocations: 184.2 kB / 0.5031 GB, free: 1.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002892/0.1001, allocations: 3.37 MB / 0.5064 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.1001, allocations: 0 / 0.5064 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.1018, allocations: 2.452 MB / 0.5088 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009194/0.1027, allocations: 327.2 kB / 0.5091 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005702/0.1085, allocations: 4.88 MB / 0.5139 GB, free: 5.789 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.109, allocations: 0.67 MB / 0.5145 GB, free: 5.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/0.1096, allocations: 88.48 kB / 0.5146 GB, free: 5.004 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/0.1096, allocations: 0 / 0.5146 GB, free: 5.004 MB / 426.7 MB Notification: Performance of Templates: time 0.1985/0.3081, allocations: 83.06 MB / 0.5957 GB, free: 153.9 MB / 490.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: 14.13003165833652] Failed to read output from testmodel.py, exit status != 0: 0.3145994124934077 0.322314031 0.30077587100000003 Calling exit ...