Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit.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.Hydraulic_circuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit") translateModel(AES.Coursework.ThermSys_component_models.Hydraulic_circuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.1088/0.1088, allocations: 19.39 MB / 34.65 MB, free: 204 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.001319/0.001319, allocations: 172.9 kB / 40.28 MB, free: 6.539 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.507/1.507, allocations: 225.7 MB / 271.5 MB, free: 2.852 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.0007524/0.0007522, allocations: 91.52 kB / 327.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002856, allocations: 11.98 kB / 395.4 MB, free: 47.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/0.09072, allocations: 55.18 MB / 450.6 MB, free: 8.598 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Hydraulic_circuit): time 0.003519/0.09428, allocations: 3.052 MB / 453.6 MB, free: 5.531 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.09634, allocations: 1.14 MB / 454.8 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.09658, allocations: 7.938 kB / 454.8 MB, free: 4.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.09678, allocations: 63.55 kB / 454.8 MB, free: 4.277 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.09715, allocations: 214.7 kB / 455 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.09761, allocations: 175.8 kB / 455.2 MB, free: 3.895 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.09867, allocations: 1.326 MB / 456.5 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007323/0.09941, allocations: 0.6393 MB / 457.2 MB, free: 1.914 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.09982, allocations: 362.7 kB / 457.5 MB, free: 1.559 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005578/0.1004, allocations: 486.4 kB / 458 MB, free: 1.082 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.399e-05/0.1005, allocations: 56 kB / 458.1 MB, free: 1.027 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.1007, allocations: 83.97 kB / 458.1 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.1009, allocations: 271.2 kB / 458.4 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004154/0.1014, allocations: 435.7 kB / 458.8 MB, free: 252 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.1024, allocations: 1.254 MB / 460.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1024, allocations: 0 / 460.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.1024, allocations: 7.922 kB / 460.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1025, allocations: 0 / 460.1 MB, free: 14.98 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00224/0.1047, allocations: 1.122 MB / 461.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1047, allocations: 8.031 kB / 461.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.1049, allocations: 80 kB / 461.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007235/0.1056, allocations: 0.5225 MB / 461.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.1057, allocations: 45.69 kB / 461.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.1058, allocations: 72.27 kB / 461.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.1073, allocations: 0.8266 MB / 462.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1073, allocations: 0 / 462.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.75e-05/0.1074, allocations: 24 kB / 462.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.1074, allocations: 12 kB / 462.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.1088, allocations: 0.7586 MB / 463.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004416/0.1132, allocations: 3.23 MB / 466.8 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.1156, allocations: 0.9982 MB / 467.8 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/0.1163, allocations: 442.4 kB / 468.2 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.1165, allocations: 93.66 kB / 468.3 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1165, allocations: 39.12 kB / 468.3 MB, free: 6.348 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002284/0.1168, allocations: 47.53 kB / 468.4 MB, free: 6.301 MB / 330.7 MB Notification: Performance of pre-optimization done (n=60): time 2.845e-06/0.1168, allocations: 0 / 468.4 MB, free: 6.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=60): time 0.004706/0.1215, allocations: 2.135 MB / 470.5 MB, free: 4.023 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1215, allocations: 63.95 kB / 470.6 MB, free: 3.949 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.122, allocations: 405.7 kB / 471 MB, free: 3.543 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.122, allocations: 37.7 kB / 471 MB, free: 3.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.1222, allocations: 296.3 kB / 471.3 MB, free: 3.207 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.1224, allocations: 228.7 kB / 471.5 MB, free: 2.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.1225, allocations: 20 kB / 471.6 MB, free: 2.961 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1226, allocations: 370.8 kB / 471.9 MB, free: 2.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007469/0.1234, allocations: 445.8 kB / 472.4 MB, free: 2.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008085/0.1242, allocations: 0.528 MB / 472.9 MB, free: 1.605 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.1257, allocations: 0.9881 MB / 473.9 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1257, allocations: 0 / 473.9 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003186/0.1289, allocations: 1.408 MB / 475.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1289, allocations: 8 kB / 475.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.129, allocations: 0 / 475.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/0.1312, allocations: 372.8 kB / 475.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.1323, allocations: 247.6 kB / 475.9 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005289/0.1376, allocations: 7.563 MB / 483.5 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006771/0.1383, allocations: 67.72 kB / 483.5 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.1384, allocations: 28 kB / 483.5 MB, free: 6.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (83): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003549/0.1388, allocations: 253.8 kB / 483.8 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/0.1389, allocations: 51.38 kB / 483.8 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.1419, allocations: 1.288 MB / 485.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.142, allocations: 8 kB / 485.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.142, allocations: 0 / 485.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.142, allocations: 3.984 kB / 485.1 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.143, allocations: 0.9153 MB / 486.1 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.143, allocations: 0 / 486.1 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.1441, allocations: 215.8 kB / 486.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/0.1463, allocations: 368.8 kB / 486.6 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.153e-05/0.1464, allocations: 35.97 kB / 486.7 MB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/0.1513, allocations: 7.543 MB / 494.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1513, allocations: 0 / 494.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.1551, allocations: 1.726 MB / 495.9 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.1553, allocations: 132.6 kB / 496.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.1554, allocations: 43.86 kB / 496.1 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/0.156, allocations: 55.88 kB / 496.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.1562, allocations: 52.48 kB / 496.2 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.1562, allocations: 19.98 kB / 496.2 MB, free: 8.648 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003308/0.1566, allocations: 291.2 kB / 496.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1566, allocations: 0 / 496.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007977/0.1574, allocations: 263.5 kB / 496.8 MB, free: 8.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Vessel.lfrac,tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002164/0.1576, allocations: 137.4 kB / 496.9 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.16, allocations: 1.566 MB / 498.5 MB, free: 6.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.16, allocations: 0 / 498.5 MB, free: 6.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.1614, allocations: 1.052 MB / 499.5 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.1622, allocations: 173.3 kB / 499.7 MB, free: 5.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/0.1673, allocations: 3.482 MB / 0.4914 GB, free: 1.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.1679, allocations: 0.9696 MB / 0.4923 GB, free: 0.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006156/0.1686, allocations: 192.6 kB / 0.4925 GB, free: 360 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.1688, allocations: 55.31 kB / 0.4926 GB, free: 304 kB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1688, allocations: 0 / 0.4926 GB, free: 304 kB / 362.7 MB Notification: Performance of Templates: time 0.01831/0.1871, allocations: 11.6 MB / 0.5039 GB, free: 4.727 MB / 378.7 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit.sim & ./AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Hydraulic_circuit.pipe 2>&1)