Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 102.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002204/0.002204, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 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.1012/0.1012, allocations: 22.7 MB / 325.4 MB, free: 3.547 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 67.89 kB / 457.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1313, allocations: 58.02 MB / 0.5036 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.005984/0.1373, allocations: 4.409 MB / 0.5079 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.14, allocations: 1.267 MB / 0.5091 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.1403, allocations: 19.81 kB / 0.5091 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.1408, allocations: 174.5 kB / 0.5093 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00078/0.1415, allocations: 445.5 kB / 0.5097 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008025/0.1423, allocations: 319.5 kB / 0.51 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2682/0.4105, allocations: 2.148 MB / 0.5121 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.4121, allocations: 1.324 MB / 0.5134 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.4131, allocations: 0.8332 MB / 0.5142 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.4146, allocations: 1.004 MB / 0.5152 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007694/0.4153, allocations: 240.3 kB / 0.5155 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006625/0.416, allocations: 238.2 kB / 0.5157 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009736/0.417, allocations: 0.7013 MB / 0.5164 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.4185, allocations: 0.9222 MB / 0.5173 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003883/0.4224, allocations: 2.596 MB / 0.5198 GB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4224, allocations: 0.5 kB / 0.5198 GB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4224, allocations: 0.5625 kB / 0.5198 GB, free: 9.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.187e-05/0.4225, allocations: 5.406 kB / 0.5198 GB, free: 9.43 MB / 382.1 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.005433/0.4279, allocations: 2.056 MB / 0.5218 GB, free: 8.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4279, allocations: 9.156 kB / 0.5218 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004184/0.4284, allocations: 152 kB / 0.522 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.4299, allocations: 0.8682 MB / 0.5228 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.43, allocations: 113.3 kB / 0.5229 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003076/0.4303, allocations: 140.3 kB / 0.5231 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/0.4337, allocations: 1.593 MB / 0.5246 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/0.4337, allocations: 6.109 kB / 0.5246 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.4338, allocations: 46.66 kB / 0.5247 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/0.4339, allocations: 28.22 kB / 0.5247 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.4365, allocations: 1.424 MB / 0.5261 GB, free: 6.379 MB / 382.1 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.01119/0.4477, allocations: 7.175 MB / 0.5331 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/0.4523, allocations: 1.871 MB / 0.5349 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.4535, allocations: 0.7263 MB / 0.5356 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.3e-05/0.4536, allocations: 19.05 kB / 0.5356 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.4536, allocations: 46.84 kB / 0.5357 GB, free: 392 kB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.965e-06/0.4536, allocations: 4 kB / 0.5357 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=105): time 0.01246/0.4661, allocations: 5.872 MB / 0.5414 GB, free: 12.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.4661, allocations: 67.03 kB / 0.5415 GB, free: 12.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.4674, allocations: 0.6786 MB / 0.5422 GB, free: 11.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.4675, allocations: 45.83 kB / 0.5422 GB, free: 11.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.4679, allocations: 0.5133 MB / 0.5427 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005442/0.4685, allocations: 445.3 kB / 0.5431 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005108/0.469, allocations: 241.7 kB / 0.5434 GB, free: 10.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002871/0.4693, allocations: 410.2 kB / 0.5437 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.4708, allocations: 0.8529 MB / 0.5446 GB, free: 9.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.4724, allocations: 1.025 MB / 0.5456 GB, free: 9.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/0.4873, allocations: 4.558 MB / 0.55 GB, free: 6.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/0.4873, allocations: 2.75 kB / 0.55 GB, free: 6.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.007253/0.4946, allocations: 2.489 MB / 0.5525 GB, free: 5.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.4946, allocations: 5.875 kB / 0.5525 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.4946, allocations: 8 kB / 0.5525 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/0.4968, allocations: 0.5353 MB / 0.553 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002214/0.499, allocations: 404 kB / 0.5534 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02238/0.5214, allocations: 23.03 MB / 0.5759 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/0.5233, allocations: 79.97 kB / 0.576 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.5234, allocations: 44 kB / 0.576 GB, free: 10.91 MB / 430.1 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.001146/0.5246, allocations: 438.6 kB / 0.5764 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/0.5249, allocations: 95.39 kB / 0.5765 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004304/0.5292, allocations: 2.002 MB / 0.5785 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.5292, allocations: 12 kB / 0.5785 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.5292, allocations: 4 kB / 0.5785 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.5292, allocations: 7.969 kB / 0.5785 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007762/0.537, allocations: 3.963 MB / 0.5824 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.537, allocations: 7.938 kB / 0.5824 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/0.5391, allocations: 344 kB / 0.5827 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/0.5405, allocations: 480.5 kB / 0.5831 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.5407, allocations: 63.97 kB / 0.5832 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/0.5599, allocations: 22.16 MB / 0.6048 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.5599, allocations: 7.938 kB / 0.6049 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005834/0.5658, allocations: 2.799 MB / 0.6076 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006528/0.5664, allocations: 180.5 kB / 0.6078 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.5667, allocations: 63.98 kB / 0.6078 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/0.5675, allocations: 59.92 kB / 0.6079 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000361/0.5679, allocations: 104.7 kB / 0.608 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.568, allocations: 28 kB / 0.608 GB, free: 7.695 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007181/0.5687, allocations: 483 kB / 0.6085 GB, free: 7.227 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5687, allocations: 4 kB / 0.6085 GB, free: 7.223 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001897/0.5706, allocations: 448 kB / 0.6089 GB, free: 6.785 MB / 462.1 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.000323/0.5709, allocations: 182.9 kB / 0.6091 GB, free: 6.598 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005358/0.5763, allocations: 3.382 MB / 0.6124 GB, free: 3.023 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/0.5763, allocations: 0 / 0.6124 GB, free: 3.023 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003351/0.5796, allocations: 2.468 MB / 0.6148 GB, free: 368 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.5812, allocations: 324.4 kB / 0.6151 GB, free: 52 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.5919, allocations: 5.579 MB / 0.6205 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.5931, allocations: 1.26 MB / 0.6218 GB, free: 9.145 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001303/0.5944, allocations: 355.7 kB / 0.6221 GB, free: 8.793 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.5947, allocations: 79.42 kB / 0.6222 GB, free: 8.715 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5947, allocations: 0 / 0.6222 GB, free: 8.715 MB / 478.1 MB Notification: Performance of Templates: time 0.04366/0.6384, allocations: 24.18 MB / 0.6458 GB, free: 0.8008 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.sim & ./AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.110541868023574] Failed to read output from testmodel.py, exit status != 0: 0.647695095743984 0.660944428 0.235364234 Calling exit ...