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.00134/0.00134, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.000961/0.000961, allocations: 173 kB / 24.16 MB, free: 340 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.034/1.034, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.07291/0.07291, allocations: 18.13 MB / 279.2 MB, free: 11.21 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.984e-06/1.984e-06, allocations: 0 / 304.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.444e-05, allocations: 4.031 kB / 304.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.006228/0.006263, allocations: 4.351 MB / 308.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003122/0.009384, allocations: 1.325 MB / 310.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.009761, allocations: 19.81 kB / 310.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.01009, allocations: 171.5 kB / 310.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007463/0.01084, allocations: 472.8 kB / 310.9 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007037/0.01154, allocations: 319.4 kB / 311.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.01345, allocations: 2.21 MB / 313.4 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.01472, allocations: 1.239 MB / 314.7 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.01586, allocations: 0.8226 MB / 315.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.01727, allocations: 0.9199 MB / 316.4 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002174/0.01748, allocations: 232 kB / 316.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.0177, allocations: 236 kB / 316.9 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004029/0.01811, allocations: 0.7367 MB / 317.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005024/0.01861, allocations: 0.7018 MB / 318.3 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.01962, allocations: 1.527 MB / 319.8 MB, free: 2.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01963, allocations: 0 / 319.8 MB, free: 2.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01963, allocations: 0 / 319.8 MB, free: 2.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.01964, allocations: 0 / 319.8 MB, free: 2.574 MB / 282.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.001965/0.02161, allocations: 1.75 MB / 321.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.02164, allocations: 12.92 kB / 321.6 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.02187, allocations: 200.7 kB / 321.8 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006305/0.0225, allocations: 0.5945 MB / 322.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/0.02257, allocations: 112.6 kB / 322.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.02272, allocations: 144.1 kB / 322.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.02419, allocations: 0.7796 MB / 323.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.02421, allocations: 192 / 323.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.283e-05/0.02429, allocations: 52.12 kB / 323.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.02431, allocations: 28 kB / 323.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.02483, allocations: 333.8 kB / 323.8 MB, free: 14.46 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.003834/0.02866, allocations: 3.026 MB / 326.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.03029, allocations: 0.9118 MB / 327.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.03054, allocations: 183.8 kB / 327.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.231e-05/0.03059, allocations: 17 kB / 328 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.03062, allocations: 47.5 kB / 328 MB, free: 10.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 4.328e-06/0.03063, allocations: 4 kB / 328 MB, free: 10.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=105): time 0.003102/0.03373, allocations: 1.996 MB / 330 MB, free: 8.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.03376, allocations: 64.41 kB / 330.1 MB, free: 8.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000633/0.03439, allocations: 0.5389 MB / 330.6 MB, free: 7.504 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/0.03445, allocations: 45.7 kB / 330.6 MB, free: 7.453 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.03462, allocations: 449.8 kB / 331.1 MB, free: 7.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.03484, allocations: 448.2 kB / 331.5 MB, free: 6.562 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.03508, allocations: 215.5 kB / 331.7 MB, free: 6.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.03523, allocations: 422.5 kB / 332.1 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.03552, allocations: 215.3 kB / 332.4 MB, free: 5.711 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.03588, allocations: 393.6 kB / 332.7 MB, free: 5.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009514/0.03684, allocations: 0.8493 MB / 333.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.03684, allocations: 0 / 333.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001254/0.03809, allocations: 0.9958 MB / 334.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.03811, allocations: 8 kB / 334.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.03812, allocations: 4 kB / 334.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.03924, allocations: 0.5417 MB / 335.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.04072, allocations: 0.7162 MB / 335.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008753/0.04947, allocations: 18.43 MB / 354.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.04988, allocations: 47.94 kB / 354.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.04994, allocations: 35.98 kB / 354.4 MB, free: 13.9 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.0003326/0.05027, allocations: 196.3 kB / 354.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.0504, allocations: 91.84 kB / 354.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.05184, allocations: 0.9014 MB / 355.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.05184, allocations: 8 kB / 355.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.05185, allocations: 7.938 kB / 355.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.05186, allocations: 7.984 kB / 355.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.05409, allocations: 1.747 MB / 357.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.05409, allocations: 4 kB / 357.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.05565, allocations: 0.6253 MB / 357.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009107/0.05656, allocations: 0.5105 MB / 358.5 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.05668, allocations: 59.97 kB / 358.5 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007361/0.06404, allocations: 17.94 MB / 376.4 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.06404, allocations: 0 / 376.4 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.06545, allocations: 1.247 MB / 377.7 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.06556, allocations: 75.38 kB / 377.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.06567, allocations: 59.97 kB / 377.8 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.06596, allocations: 24 kB / 377.9 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.06617, allocations: 96.7 kB / 377.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.06622, allocations: 27.97 kB / 378 MB, free: 4.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000179/0.0664, allocations: 256.6 kB / 378.2 MB, free: 4.184 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0664, allocations: 0 / 378.2 MB, free: 4.184 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001003/0.0674, allocations: 448 kB / 378.7 MB, free: 3.746 MB / 346.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.0002029/0.0676, allocations: 165.4 kB / 378.8 MB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.06926, allocations: 2.35 MB / 381.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/0.06927, allocations: 8.438 kB / 381.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.07037, allocations: 2.012 MB / 383.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009672/0.07133, allocations: 314 kB / 383.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.0751, allocations: 3.122 MB / 386.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.07539, allocations: 329.2 kB / 386.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004003/0.07579, allocations: 116.2 kB / 387.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/0.07638, allocations: 313.1 kB / 387.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/0.07638, allocations: 0 / 387.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of Templates: time 0.03156/0.1079, allocations: 27.68 MB / 415 MB, free: 15.33 MB / 394.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7284401562064886]