Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.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_Transport.HE_simple_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.08217/0.08217, allocations: 19.39 MB / 34.64 MB, free: 156 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.001033/0.001034, allocations: 175.9 kB / 40.28 MB, free: 6.535 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.358/1.358, allocations: 225.7 MB / 271.5 MB, free: 3.336 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.0008484/0.0008482, allocations: 99.45 kB / 327.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004856, allocations: 12 kB / 395.4 MB, free: 47.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1024, allocations: 55.19 MB / 450.6 MB, free: 8.684 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_003): time 0.02045/0.1229, allocations: 18.62 MB / 469.2 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.124, allocations: 0.5752 MB / 469.8 MB, free: 5.395 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.1242, allocations: 15.94 kB / 469.8 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 6.199e-05/0.1242, allocations: 31.75 kB / 469.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.1246, allocations: 111.1 kB / 469.9 MB, free: 5.238 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.1247, allocations: 71.88 kB / 470 MB, free: 5.168 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.125, allocations: 390 kB / 470.4 MB, free: 4.785 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.1253, allocations: 214.7 kB / 470.6 MB, free: 4.578 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1255, allocations: 147.3 kB / 470.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.1257, allocations: 171.2 kB / 470.9 MB, free: 4.266 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.1258, allocations: 23.94 kB / 470.9 MB, free: 4.242 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1259, allocations: 51.95 kB / 471 MB, free: 4.191 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.1259, allocations: 51.77 kB / 471 MB, free: 4.141 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.1261, allocations: 196.8 kB / 471.2 MB, free: 3.941 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.1264, allocations: 374.5 kB / 471.6 MB, free: 3.574 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1265, allocations: 0 / 471.6 MB, free: 3.574 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1265, allocations: 0 / 471.6 MB, free: 3.574 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1265, allocations: 0 / 471.6 MB, free: 3.574 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.000828/0.1273, allocations: 0.5727 MB / 472.1 MB, free: 2.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1274, allocations: 13.16 kB / 472.2 MB, free: 2.938 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.795e-05/0.1274, allocations: 36.56 kB / 472.2 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1277, allocations: 307.4 kB / 472.5 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1278, allocations: 16.94 kB / 472.5 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.1278, allocations: 24.38 kB / 472.5 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.1283, allocations: 272.8 kB / 472.8 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1283, allocations: 192 / 472.8 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.1283, allocations: 15.94 kB / 472.8 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1283, allocations: 8 kB / 472.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.1287, allocations: 189.6 kB / 473 MB, free: 2.027 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.1299, allocations: 0.9082 MB / 473.9 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.1303, allocations: 170.6 kB / 474.1 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.1305, allocations: 100.9 kB / 474.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1305, allocations: 4 kB / 474.2 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1306, allocations: 42.5 kB / 474.2 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000183/0.1307, allocations: 31.83 kB / 474.3 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.283e-06/0.1308, allocations: 0 / 474.3 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.001267/0.132, allocations: 438.9 kB / 474.7 MB, free: 244 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1321, allocations: 55.41 kB / 474.7 MB, free: 176 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.1324, allocations: 288.6 kB / 475 MB, free: 15.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1324, allocations: 37.7 kB / 475.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1325, allocations: 176.1 kB / 475.2 MB, free: 15.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/0.1326, allocations: 63.02 kB / 475.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.472e-05/0.1326, allocations: 8 kB / 475.3 MB, free: 15.58 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1327, allocations: 342.7 kB / 475.6 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.1328, allocations: 67.91 kB / 475.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.133, allocations: 81.69 kB / 475.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003694/0.1367, allocations: 0.6841 MB / 476.5 MB, free: 14.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1367, allocations: 0 / 476.5 MB, free: 14.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007049/0.1374, allocations: 309.7 kB / 476.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1374, allocations: 4 kB / 476.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1374, allocations: 3.938 kB / 476.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006855/0.1381, allocations: 104.8 kB / 476.9 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.1384, allocations: 43.97 kB / 476.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003668/0.1388, allocations: 0.5834 MB / 477.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.1389, allocations: 12.09 kB / 477.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.1389, allocations: 4 kB / 477.5 MB, free: 13.3 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 335.9832537028189 unit = "K" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.1391, allocations: 147.9 kB / 477.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.1392, allocations: 35.61 kB / 477.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007835/0.14, allocations: 345 kB / 478 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.14, allocations: 4 kB / 478 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.14, allocations: 0 / 478 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.14, allocations: 3.984 kB / 478 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.1411, allocations: 0.7323 MB / 478.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1412, allocations: 3.938 kB / 478.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.1414, allocations: 35.98 kB / 478.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005578/0.142, allocations: 112.8 kB / 478.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.142, allocations: 4 kB / 478.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000349/0.1423, allocations: 0.5874 MB / 479.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1423, allocations: 0 / 479.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008333/0.1432, allocations: 0.5052 MB / 480 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.1433, allocations: 108.7 kB / 480.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.1433, allocations: 8 kB / 480.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1435, allocations: 4 kB / 480.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.1435, allocations: 27.97 kB / 480.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1436, allocations: 11.94 kB / 480.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.1437, allocations: 211.1 kB / 480.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1437, allocations: 0 / 480.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002795/0.144, allocations: 67.91 kB / 480.4 MB, free: 10.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001339/0.1442, allocations: 111.2 kB / 480.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004452/0.1446, allocations: 189.7 kB / 480.7 MB, free: 9.926 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1446, allocations: 4 kB / 480.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.1449, allocations: 119.8 kB / 480.9 MB, free: 9.805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.1453, allocations: 61.19 kB / 480.9 MB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1463, allocations: 0.8605 MB / 481.8 MB, free: 8.852 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1466, allocations: 0.7719 MB / 482.6 MB, free: 8.051 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001671/0.1468, allocations: 42.97 kB / 482.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.1469, allocations: 31.42 kB / 482.6 MB, free: 7.977 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1469, allocations: 0 / 482.6 MB, free: 7.977 MB / 346.7 MB Notification: Performance of Templates: time 0.006889/0.1538, allocations: 3.708 MB / 486.3 MB, free: 4.27 MB / 346.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.sim & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.pipe 2>&1)