Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.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.000831/0.000831, allocations: 80.47 kB / 20.71 MB, free: 3.848 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.001203/0.001203, allocations: 173.2 kB / 23.99 MB, free: 0.5625 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.8648/0.8648, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.06016/0.06016, allocations: 18.12 MB / 278.8 MB, free: 11.53 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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.602e-05, allocations: 2.281 kB / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.002645/0.002671, allocations: 3.072 MB / 419.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.003866, allocations: 0.9372 MB / 420.3 MB, free: 9.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.004004, allocations: 12.91 kB / 420.3 MB, free: 9.742 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.004198, allocations: 110.6 kB / 420.4 MB, free: 9.672 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.004495, allocations: 275.1 kB / 420.7 MB, free: 9.496 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.004916, allocations: 192 kB / 420.9 MB, free: 9.383 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008121/0.005728, allocations: 1.261 MB / 422.2 MB, free: 8.754 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006116/0.006339, allocations: 0.6524 MB / 422.8 MB, free: 8.457 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000473/0.006812, allocations: 493.5 kB / 423.3 MB, free: 8.234 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005333/0.007346, allocations: 0.4942 MB / 423.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.007467, allocations: 132.8 kB / 423.9 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.007602, allocations: 132.9 kB / 424.1 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.007841, allocations: 422.8 kB / 424.5 MB, free: 7.832 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.008149, allocations: 400.8 kB / 424.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.009319, allocations: 1.528 MB / 426.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.009322, allocations: 0 / 426.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.009323, allocations: 0 / 426.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.009338, allocations: 1.156 kB / 426.4 MB, free: 7.098 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: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.002098/0.01144, allocations: 1.217 MB / 427.6 MB, free: 6.414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.01148, allocations: 9.484 kB / 427.6 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.01165, allocations: 93.84 kB / 427.7 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.01229, allocations: 0.5035 MB / 428.2 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/0.01235, allocations: 83.36 kB / 428.3 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.01247, allocations: 85.11 kB / 428.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.01368, allocations: 0.9514 MB / 429.3 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.0137, allocations: 192 / 429.3 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/0.01375, allocations: 34.84 kB / 429.4 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.01377, allocations: 17.78 kB / 429.4 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009689/0.01474, allocations: 0.8108 MB / 430.2 MB, free: 5.191 MB / 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(pipeline.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/0.01826, allocations: 2.683 MB / 432.9 MB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.01978, allocations: 1.01 MB / 433.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.02018, allocations: 402.5 kB / 434.3 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.02022, allocations: 5.875 kB / 434.3 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.02024, allocations: 39.25 kB / 434.3 MB, free: 3.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=58): time 1.683e-06/0.02024, allocations: 0 / 434.3 MB, free: 3.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.002173/0.02242, allocations: 1.62 MB / 435.9 MB, free: 2.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.02244, allocations: 58.38 kB / 436 MB, free: 2.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.02278, allocations: 396.3 kB / 436.4 MB, free: 1.949 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.02281, allocations: 36.3 kB / 436.4 MB, free: 1.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.02291, allocations: 333.6 kB / 436.7 MB, free: 1.617 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.02307, allocations: 239.3 kB / 437 MB, free: 1.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.02321, allocations: 126.3 kB / 437.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.163e-05/0.02328, allocations: 370 kB / 437.5 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/0.02373, allocations: 454.7 kB / 437.9 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.02418, allocations: 0.5007 MB / 438.4 MB, free: 452 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003782/0.02796, allocations: 2.353 MB / 440.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.02797, allocations: 5.188 kB / 440.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001528/0.0295, allocations: 1.342 MB / 442.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.02952, allocations: 5.875 kB / 442.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.02953, allocations: 4 kB / 442.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/0.03007, allocations: 340.3 kB / 442.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.03052, allocations: 187.8 kB / 442.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/0.03726, allocations: 13.85 MB / 456.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.03778, allocations: 79.45 kB / 456.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.03781, allocations: 23.98 kB / 456.6 MB, free: 14.6 MB / 362.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (79): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000499/0.03831, allocations: 278 kB / 456.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.03838, allocations: 55.64 kB / 456.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.03959, allocations: 1.129 MB / 458 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.0396, allocations: 8 kB / 458 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.0396, allocations: 0 / 458 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.03961, allocations: 7.984 kB / 458.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.04177, allocations: 1.855 MB / 459.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.04178, allocations: 16 kB / 459.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.04227, allocations: 167.8 kB / 460.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.04266, allocations: 304.3 kB / 460.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.04271, allocations: 39.98 kB / 460.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00579/0.0485, allocations: 13.41 MB / 473.8 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.0485, allocations: 0 / 473.8 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.0506, allocations: 1.596 MB / 475.4 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.05071, allocations: 67.53 kB / 475.5 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-05/0.05078, allocations: 31.98 kB / 475.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.051, allocations: 23.97 kB / 475.6 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.05112, allocations: 64.52 kB / 475.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.05116, allocations: 16 kB / 475.6 MB, free: 10.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002227/0.05139, allocations: 279.2 kB / 475.9 MB, free: 10.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05139, allocations: 0 / 475.9 MB, free: 10.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008159/0.0522, allocations: 299.5 kB / 476.2 MB, free: 9.746 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 22 (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]) * 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 (49): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/0.05237, allocations: 160.2 kB / 476.4 MB, free: 9.586 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.05398, allocations: 2.004 MB / 478.4 MB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.05398, allocations: 0 / 478.4 MB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.05516, allocations: 1.549 MB / 479.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.05566, allocations: 171.5 kB / 480.1 MB, free: 5.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.05874, allocations: 2.692 MB / 482.8 MB, free: 2.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.05909, allocations: 420.6 kB / 483.2 MB, free: 2.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.05927, allocations: 44.5 kB / 483.2 MB, free: 2.395 MB / 378.7 MB Notification: Performance of SimCode: time 1.243e-06/0.05927, allocations: 0 / 483.2 MB, free: 2.395 MB / 378.7 MB Notification: Performance of Templates: time 0.02585/0.08512, allocations: 36.72 MB / 0.5078 GB, free: 13.66 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.780794698745012] Failed to read output from testmodel.py, exit status != 0: 0.09104860480874777 0.100388577 0.089429044 Calling exit ...