Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_case_002.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_002") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_002") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07897/0.07897, allocations: 19.39 MB / 34.65 MB, free: 276 kB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 175.1 kB / 40.28 MB, free: 6.543 MB / 33.03 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.7 MB / 271.5 MB, free: 3.289 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000832/0.000832, allocations: 99.72 kB / 327.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004056, allocations: 8 kB / 395.4 MB, free: 47.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.09768, allocations: 55.18 MB / 450.6 MB, free: 8.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_002): time 0.003656/0.1014, allocations: 2.954 MB / 453.5 MB, free: 5.727 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.1034, allocations: 1.109 MB / 454.6 MB, free: 4.574 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003208/0.1037, allocations: 11.94 kB / 454.6 MB, free: 4.562 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.104, allocations: 71.47 kB / 454.7 MB, free: 4.492 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004763/0.1045, allocations: 246.8 kB / 454.9 MB, free: 4.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.105, allocations: 167.8 kB / 455.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.1064, allocations: 1.494 MB / 456.6 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008962/0.1073, allocations: 0.7018 MB / 457.3 MB, free: 1.875 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005238/0.1078, allocations: 366.8 kB / 457.7 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007208/0.1085, allocations: 0.5218 MB / 458.2 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.1087, allocations: 60 kB / 458.2 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.109, allocations: 83.97 kB / 458.3 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.1093, allocations: 315 kB / 458.6 MB, free: 0.543 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006221/0.1099, allocations: 471.6 kB / 459.1 MB, free: 76 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.1111, allocations: 1.359 MB / 460.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1112, allocations: 0 / 460.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1112, allocations: 0 / 460.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.601e-05/0.1113, allocations: 0 / 460.5 MB, free: 14.71 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.002664/0.1139, allocations: 1.139 MB / 461.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.114, allocations: 13.09 kB / 461.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004222/0.1144, allocations: 99.89 kB / 461.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.1154, allocations: 0.5543 MB / 462.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.1155, allocations: 80.27 kB / 462.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.1156, allocations: 84.28 kB / 462.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.1172, allocations: 0.9132 MB / 463.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1173, allocations: 0 / 463.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.1173, allocations: 28 kB / 463.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.1174, allocations: 16 kB / 463.4 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.1186, allocations: 0.8042 MB / 464.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005469/0.1241, allocations: 3.966 MB / 468.1 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.1267, allocations: 1.013 MB / 469.2 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005804/0.1273, allocations: 406.4 kB / 469.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.1275, allocations: 97.66 kB / 469.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1275, allocations: 35.12 kB / 469.7 MB, free: 5.062 MB / 330.7 MB Notification: Performance of pre-optimization done (n=58): time 2.154e-06/0.1275, allocations: 0 / 469.7 MB, free: 5.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.003603/0.1311, allocations: 2.315 MB / 472 MB, free: 2.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.1312, allocations: 63.91 kB / 472.1 MB, free: 2.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.1317, allocations: 405.7 kB / 472.5 MB, free: 2.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.1318, allocations: 33.7 kB / 472.5 MB, free: 2.004 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.132, allocations: 331.8 kB / 472.8 MB, free: 1.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.1322, allocations: 228.8 kB / 473 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.1323, allocations: 12 kB / 473.1 MB, free: 1.434 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1324, allocations: 370.8 kB / 473.4 MB, free: 1.062 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006631/0.1331, allocations: 438.7 kB / 473.8 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006688/0.1338, allocations: 0.4965 MB / 474.3 MB, free: 116 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008244/0.142, allocations: 2.41 MB / 476.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.142, allocations: 0 / 476.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002086/0.1441, allocations: 1.298 MB / 478 MB, free: 12.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1442, allocations: 11.97 kB / 478.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1442, allocations: 4 kB / 478.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008533/0.145, allocations: 312.3 kB / 478.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.1469, allocations: 287.6 kB / 478.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009016/0.156, allocations: 14.29 MB / 492.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/0.1566, allocations: 83.61 kB / 493 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.1567, allocations: 20 kB / 493 MB, free: 11.97 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): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0005166/0.1573, allocations: 288.2 kB / 493.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.1574, allocations: 51.42 kB / 493.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.1595, allocations: 1.123 MB / 494.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1595, allocations: 12 kB / 494.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1595, allocations: 4 kB / 494.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1595, allocations: 3.984 kB / 494.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.1628, allocations: 2.105 MB / 496.6 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1628, allocations: 3.984 kB / 496.6 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/0.1649, allocations: 267.8 kB / 496.9 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008305/0.1657, allocations: 312.3 kB / 497.2 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-05/0.1658, allocations: 31.98 kB / 497.2 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008936/0.1748, allocations: 14.28 MB / 0.4995 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1748, allocations: 3.938 kB / 0.4995 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.1774, allocations: 1.579 MB / 0.5011 GB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.1776, allocations: 140.3 kB / 0.5012 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.1777, allocations: 40.17 kB / 0.5012 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.1782, allocations: 43.75 kB / 0.5013 GB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.1783, allocations: 52.42 kB / 0.5013 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-05/0.1784, allocations: 16 kB / 0.5013 GB, free: 6.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003169/0.1787, allocations: 291.2 kB / 0.5016 GB, free: 5.746 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1787, allocations: 0 / 0.5016 GB, free: 5.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000939/0.1797, allocations: 295.4 kB / 0.5019 GB, free: 5.457 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (48): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0002199/0.1799, allocations: 159.6 kB / 0.502 GB, free: 5.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00364/0.1836, allocations: 2.145 MB / 0.5041 GB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.1836, allocations: 0 / 0.5041 GB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003044/0.1866, allocations: 1.682 MB / 0.5058 GB, free: 1.207 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009158/0.1876, allocations: 153.5 kB / 0.5059 GB, free: 1.059 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1866/0.3742, allocations: 3.647 MB / 0.5095 GB, free: 66.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.3748, allocations: 1.005 MB / 0.5105 GB, free: 65.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000638/0.3755, allocations: 166.6 kB / 0.5106 GB, free: 65.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.3757, allocations: 42.91 kB / 0.5107 GB, free: 65.57 MB / 378.7 MB Notification: Performance of SimCode: time 5.82e-07/0.3757, allocations: 0 / 0.5107 GB, free: 65.57 MB / 378.7 MB Notification: Performance of Templates: time 0.0212/0.3969, allocations: 12.26 MB / 0.5227 GB, free: 62.95 MB / 378.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_002.makefile (rm -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Heater_control_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Heater_control_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Heater_control_case_002.sim & ./AES_AES.Coursework.ThermSys_Generation.Heater_control_case_002 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_002.pipe 2>&1)