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.0009731/0.0009731, allocations: 78.66 kB / 21.46 MB, free: 3.039 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.0009477/0.0009477, allocations: 169.1 kB / 24.86 MB, free: 9.27 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.9981/0.9981, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.06592/0.06592, allocations: 18.14 MB / 280 MB, free: 11.16 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.062e-06/1.062e-06, allocations: 0 / 358.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.777e-05, allocations: 6.312 kB / 358.6 MB, free: 8.387 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.004654/0.004671, allocations: 4.308 MB / 362.9 MB, free: 4.059 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.006989, allocations: 1.274 MB / 364.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.007263, allocations: 19.81 kB / 364.2 MB, free: 2.758 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.007598, allocations: 170.6 kB / 364.3 MB, free: 2.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007152/0.008313, allocations: 472.8 kB / 364.8 MB, free: 2.125 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.008948, allocations: 319.4 kB / 365.1 MB, free: 1.812 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.01069, allocations: 2.211 MB / 367.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.01202, allocations: 1.212 MB / 368.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000942/0.01296, allocations: 0.8265 MB / 369.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.0141, allocations: 0.9355 MB / 370.3 MB, free: 12.58 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.01436, allocations: 236 kB / 370.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.01463, allocations: 239.9 kB / 370.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005007/0.01513, allocations: 0.7289 MB / 371.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007129/0.01584, allocations: 0.6979 MB / 372.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.01741, allocations: 1.535 MB / 373.7 MB, free: 9.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01741, allocations: 0 / 373.7 MB, free: 9.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01741, allocations: 0 / 373.7 MB, free: 9.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.548e-05/0.01744, allocations: 4 kB / 373.7 MB, free: 9.141 MB / 346.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.003154/0.02059, allocations: 1.914 MB / 375.6 MB, free: 7.184 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.02063, allocations: 12.92 kB / 375.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.021, allocations: 248 kB / 375.9 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009279/0.02193, allocations: 0.7089 MB / 376.6 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-05/0.02202, allocations: 116.6 kB / 376.7 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.02222, allocations: 132.3 kB / 376.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.02342, allocations: 0.7563 MB / 377.6 MB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.02345, allocations: 192 / 377.6 MB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.02356, allocations: 56.12 kB / 377.7 MB, free: 5.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.02358, allocations: 28 kB / 377.7 MB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008244/0.02441, allocations: 397.6 kB / 378.1 MB, free: 4.656 MB / 346.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.005563/0.02997, allocations: 3.566 MB / 381.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.03264, allocations: 0.9922 MB / 382.6 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/0.03305, allocations: 218.5 kB / 382.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.0331, allocations: 21 kB / 382.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.03313, allocations: 46.39 kB / 382.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=104): time 2.765e-06/0.03313, allocations: 3.938 kB / 382.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=105): time 0.004593/0.03772, allocations: 2.248 MB / 385.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.03776, allocations: 68.33 kB / 385.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/0.03829, allocations: 0.6084 MB / 385.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.918e-05/0.03835, allocations: 41.7 kB / 385.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.03867, allocations: 0.5696 MB / 386.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.03903, allocations: 456.2 kB / 386.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004361/0.03947, allocations: 257.1 kB / 387.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002443/0.03971, allocations: 0.6091 MB / 387.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/0.0402, allocations: 282.1 kB / 388 MB, free: 10.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/0.04078, allocations: 0.4936 MB / 388.5 MB, free: 9.852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.04247, allocations: 0.9562 MB / 389.5 MB, free: 8.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.04248, allocations: 0 / 389.5 MB, free: 8.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002071/0.04455, allocations: 1.21 MB / 390.7 MB, free: 7.512 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.04456, allocations: 8 kB / 390.7 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.04458, allocations: 4 kB / 390.7 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.04616, allocations: 0.5535 MB / 391.3 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.04732, allocations: 367.6 kB / 391.6 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.05922, allocations: 26.33 MB / 417.9 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.05962, allocations: 43.95 kB / 418 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.05969, allocations: 35.98 kB / 418 MB, free: 10.34 MB / 394.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.0003063/0.05999, allocations: 240.3 kB / 418.3 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.06015, allocations: 135.3 kB / 418.4 MB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.06141, allocations: 1.032 MB / 419.4 MB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.06141, allocations: 8 kB / 419.4 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.06142, allocations: 4 kB / 419.4 MB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.06142, allocations: 7.969 kB / 419.4 MB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.06394, allocations: 2.122 MB / 421.6 MB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.06394, allocations: 4 kB / 421.6 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.06495, allocations: 312 kB / 421.9 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.06598, allocations: 0.5027 MB / 422.4 MB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.06609, allocations: 55.97 kB / 422.4 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1544/0.2204, allocations: 25.79 MB / 448.2 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2205, allocations: 3.25 kB / 448.2 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.2228, allocations: 1.471 MB / 449.7 MB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.2229, allocations: 99.84 kB / 449.8 MB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.2231, allocations: 62.53 kB / 449.9 MB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.2235, allocations: 21.34 kB / 449.9 MB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/0.2238, allocations: 105 kB / 450 MB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.2239, allocations: 26.66 kB / 450 MB, free: 105.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000255/0.2241, allocations: 377.8 kB / 450.4 MB, free: 105.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2241, allocations: 0 / 450.4 MB, free: 105.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00126/0.2254, allocations: 454.7 kB / 450.8 MB, free: 105.2 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.0002254/0.2256, allocations: 184.5 kB / 451 MB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.2275, allocations: 3.226 MB / 454.2 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2275, allocations: 0 / 454.2 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.2287, allocations: 2.862 MB / 457.1 MB, free: 100 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008776/0.2296, allocations: 288 kB / 457.4 MB, free: 100 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.2347, allocations: 3.996 MB / 461.4 MB, free: 98.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.235, allocations: 332.8 kB / 461.7 MB, free: 97.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004809/0.2355, allocations: 119.9 kB / 461.8 MB, free: 97.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006478/0.2361, allocations: 342.8 kB / 462.1 MB, free: 97.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2361, allocations: 0 / 462.1 MB, free: 97.88 MB / 410.7 MB Notification: Performance of Templates: time 0.02948/0.2656, allocations: 27.46 MB / 489.6 MB, free: 93.11 MB / 410.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 -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.9989625210873783]