Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Containment_elements.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_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") translateModel(AES.Coursework.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07951/0.07951, allocations: 19.39 MB / 34.64 MB, free: 196 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.0009442/0.0009444, allocations: 180.4 kB / 40.29 MB, free: 6.527 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.513/1.513, allocations: 225.7 MB / 271.5 MB, free: 3.246 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.0007654/0.0007654, allocations: 95.47 kB / 327.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003295, allocations: 8 kB / 395.4 MB, free: 47.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.08991, allocations: 55.18 MB / 450.6 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002382/0.09235, allocations: 1.582 MB / 452.1 MB, free: 7.062 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007774/0.09316, allocations: 397.6 kB / 452.5 MB, free: 6.637 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.09329, allocations: 4 kB / 452.5 MB, free: 6.633 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.09349, allocations: 19.84 kB / 452.6 MB, free: 6.613 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.094, allocations: 99.53 kB / 452.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.09416, allocations: 39.95 kB / 452.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000484/0.09466, allocations: 370.9 kB / 453.1 MB, free: 6.113 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.09485, allocations: 53.28 kB / 453.1 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.09501, allocations: 87.69 kB / 453.2 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.09525, allocations: 115.6 kB / 453.3 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.0953, allocations: 8 kB / 453.3 MB, free: 5.852 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.09545, allocations: 59.94 kB / 453.4 MB, free: 5.793 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.09556, allocations: 63.78 kB / 453.4 MB, free: 5.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.09571, allocations: 125.2 kB / 453.6 MB, free: 5.602 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.09604, allocations: 259.1 kB / 453.8 MB, free: 5.348 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.09606, allocations: 0 / 453.8 MB, free: 5.348 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09607, allocations: 3.938 kB / 453.8 MB, free: 5.344 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.09608, allocations: 0 / 453.8 MB, free: 5.344 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001142/0.09723, allocations: 0.5221 MB / 454.3 MB, free: 4.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.09728, allocations: 9.156 kB / 454.3 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.09738, allocations: 24.66 kB / 454.4 MB, free: 4.738 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.09785, allocations: 319.9 kB / 454.7 MB, free: 4.387 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.09788, allocations: 12.38 kB / 454.7 MB, free: 4.375 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.09793, allocations: 16.38 kB / 454.7 MB, free: 4.359 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.09826, allocations: 142.9 kB / 454.8 MB, free: 4.215 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.09828, allocations: 4.125 kB / 454.8 MB, free: 4.211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.09831, allocations: 11.94 kB / 454.9 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.09832, allocations: 0 / 454.9 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.09852, allocations: 109.2 kB / 455 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.09957, allocations: 0.6631 MB / 455.6 MB, free: 3.355 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008001/0.1004, allocations: 254.4 kB / 455.9 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.1005, allocations: 84.81 kB / 456 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1006, allocations: 8 kB / 456 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1006, allocations: 30.56 kB / 456 MB, free: 2.965 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.1006, allocations: 0 / 456 MB, free: 2.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.001083/0.1017, allocations: 0.509 MB / 456.5 MB, free: 2.406 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.1017, allocations: 51.41 kB / 456.6 MB, free: 2.344 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.1021, allocations: 307.8 kB / 456.9 MB, free: 2.031 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1021, allocations: 25.7 kB / 456.9 MB, free: 2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.1022, allocations: 128 kB / 457 MB, free: 1.871 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.1023, allocations: 55.2 kB / 457.1 MB, free: 1.816 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.1023, allocations: 8 kB / 457.1 MB, free: 1.809 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1024, allocations: 330.8 kB / 457.4 MB, free: 1.477 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1025, allocations: 67.89 kB / 457.5 MB, free: 1.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.1027, allocations: 89.67 kB / 457.5 MB, free: 1.316 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.1041, allocations: 464.4 kB / 458 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1041, allocations: 4 kB / 458 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005285/0.1047, allocations: 308.4 kB / 458.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1047, allocations: 4 kB / 458.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1047, allocations: 3.938 kB / 458.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.1049, allocations: 53.66 kB / 458.4 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.1052, allocations: 51.97 kB / 458.4 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.1073, allocations: 2.611 MB / 461 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.1075, allocations: 15.88 kB / 461 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.1075, allocations: 8 kB / 461.1 MB, free: 13.52 MB / 330.7 MB Warning: Assuming fixed start value for the following 7 variables: nonhomogeneous.T[3]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] nonhomogeneous.T[2]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] nonhomogeneous.T[1]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] homogeneous.T[4]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[3]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[2]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[1]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0002515/0.1077, allocations: 177.2 kB / 461.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.1078, allocations: 23.72 kB / 461.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/0.1079, allocations: 37.5 kB / 461.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1079, allocations: 7.875 kB / 461.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1079, allocations: 4 kB / 461.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1079, allocations: 3.938 kB / 461.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.1082, allocations: 293.4 kB / 461.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1082, allocations: 0 / 461.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.1086, allocations: 51.97 kB / 461.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/0.1087, allocations: 45.69 kB / 461.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.1088, allocations: 11.98 kB / 461.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.1106, allocations: 2.616 MB / 464.3 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1106, allocations: 4.062 kB / 464.3 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.1112, allocations: 413.4 kB / 464.7 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.1113, allocations: 108.8 kB / 464.8 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.1113, allocations: 7.984 kB / 464.8 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.1115, allocations: 12 kB / 464.8 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.1116, allocations: 15.97 kB / 464.9 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1116, allocations: 4 kB / 464.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002166/0.1118, allocations: 240.1 kB / 465.1 MB, free: 9.109 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1118, allocations: 0 / 465.1 MB, free: 9.109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003474/0.1122, allocations: 72 kB / 465.2 MB, free: 9.039 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (homogeneous.T[1],homogeneous.T[2],homogeneous.T[3],homogeneous.T[4],nonhomogeneous.T[1],nonhomogeneous.T[2],nonhomogeneous.T[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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0001749/0.1123, allocations: 123.2 kB / 465.3 MB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005953/0.1129, allocations: 423 kB / 465.7 MB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.113, allocations: 0 / 465.7 MB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.1133, allocations: 321.3 kB / 466 MB, free: 8.129 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.1137, allocations: 53.52 kB / 466.1 MB, free: 8.078 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.1151, allocations: 1.003 MB / 467.1 MB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1154, allocations: 0.7479 MB / 467.8 MB, free: 6.273 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.1156, allocations: 37.53 kB / 467.9 MB, free: 6.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.1156, allocations: 23.42 kB / 467.9 MB, free: 6.207 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1157, allocations: 0 / 467.9 MB, free: 6.207 MB / 330.7 MB Notification: Performance of Templates: time 0.007318/0.123, allocations: 3.733 MB / 471.6 MB, free: 2.488 MB / 330.7 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Containment_elements.sim & ./AES_AES.Coursework.ThermSys_component_models.Containment_elements -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1)