Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.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.Valve_linearisation_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001") translateModel(AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.08751/0.08751, allocations: 19.39 MB / 34.65 MB, free: 56 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.002048/0.002048, allocations: 176.7 kB / 40.28 MB, free: 6.516 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.38/1.38, allocations: 225.7 MB / 271.5 MB, free: 3.273 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.0007184/0.0007186, allocations: 79.78 kB / 327.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005043, allocations: 8 kB / 395.4 MB, free: 47.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1263, allocations: 55.18 MB / 450.6 MB, free: 8.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001): time 0.004551/0.1309, allocations: 2.74 MB / 453.3 MB, free: 5.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.1332, allocations: 1.055 MB / 454.4 MB, free: 4.832 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.1335, allocations: 4 kB / 454.4 MB, free: 4.828 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.1337, allocations: 43.67 kB / 454.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.1342, allocations: 155 kB / 454.6 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.1347, allocations: 139.8 kB / 454.7 MB, free: 4.496 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.1358, allocations: 0.776 MB / 455.5 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006405/0.1364, allocations: 343.5 kB / 455.8 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004139/0.1368, allocations: 267.1 kB / 456.1 MB, free: 3.117 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006875/0.1375, allocations: 394.7 kB / 456.5 MB, free: 2.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.1377, allocations: 44 kB / 456.5 MB, free: 2.688 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.1379, allocations: 75.97 kB / 456.6 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.1382, allocations: 175.4 kB / 456.7 MB, free: 2.441 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.1387, allocations: 316.3 kB / 457 MB, free: 2.125 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009783/0.1397, allocations: 0.7162 MB / 457.8 MB, free: 1.406 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1397, allocations: 0 / 457.8 MB, free: 1.406 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.268e-06/0.1397, allocations: 4 kB / 457.8 MB, free: 1.402 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.1398, allocations: 0 / 457.8 MB, free: 1.402 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002356/0.1421, allocations: 0.7912 MB / 458.6 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1422, allocations: 13.16 kB / 458.6 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1424, allocations: 60.28 kB / 458.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006852/0.1431, allocations: 379.8 kB / 459 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.1431, allocations: 41.3 kB / 459 MB, free: 36 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.1433, allocations: 48.33 kB / 459.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.1447, allocations: 0.5259 MB / 459.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1448, allocations: 0 / 459.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/0.1449, allocations: 16 kB / 459.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.1449, allocations: 12 kB / 459.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.1464, allocations: 0.527 MB / 460.2 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/0.1506, allocations: 1.511 MB / 461.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.1519, allocations: 484.7 kB / 462.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007315/0.1527, allocations: 250.1 kB / 462.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.1529, allocations: 93.53 kB / 462.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.1529, allocations: 39 kB / 462.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003919/0.1534, allocations: 63.66 kB / 462.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 3.747e-06/0.1534, allocations: 0 / 462.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.005894/0.1593, allocations: 1.205 MB / 463.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.1594, allocations: 59.78 kB / 463.9 MB, free: 11.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006238/0.16, allocations: 377.5 kB / 464.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.685e-05/0.1601, allocations: 37.7 kB / 464.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.1603, allocations: 240.1 kB / 464.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.1606, allocations: 177.4 kB / 464.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.1606, allocations: 16 kB / 464.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.1609, allocations: 359.5 kB / 465 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007301/0.1616, allocations: 241.2 kB / 465.3 MB, free: 9.621 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007796/0.1624, allocations: 366.1 kB / 465.6 MB, free: 9.223 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.164, allocations: 0.6031 MB / 466.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.164, allocations: 0 / 466.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.004763/0.1688, allocations: 0.9721 MB / 467.2 MB, free: 7.594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.1688, allocations: 11.94 kB / 467.2 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1688, allocations: 0 / 467.2 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004841/0.1737, allocations: 357.7 kB / 467.6 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.1755, allocations: 227.7 kB / 467.8 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.1768, allocations: 1.148 MB / 468.9 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007711/0.1776, allocations: 31.89 kB / 469 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.1777, allocations: 23.98 kB / 469 MB, free: 5.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (72): * Single equations (assignments): 70 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003907/0.1781, allocations: 189.7 kB / 469.2 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.1783, allocations: 43.53 kB / 469.2 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004773/0.1831, allocations: 0.939 MB / 470.2 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.1831, allocations: 8 kB / 470.2 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1831, allocations: 0 / 470.2 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.1832, allocations: 0 / 470.2 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005076/0.1882, allocations: 1.58 MB / 471.7 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.1883, allocations: 0 / 471.7 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.1898, allocations: 195.7 kB / 471.9 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004231/0.1941, allocations: 361.3 kB / 472.3 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.05e-05/0.1942, allocations: 15.98 kB / 472.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.1952, allocations: 1.156 MB / 473.5 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1952, allocations: 128 / 473.5 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004829/0.2001, allocations: 1.246 MB / 474.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.2003, allocations: 132.5 kB / 474.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.2004, allocations: 19.92 kB / 474.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005863/0.201, allocations: 23.98 kB / 474.9 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.2012, allocations: 48.47 kB / 474.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.285e-05/0.2013, allocations: 16 kB / 474.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004475/0.2018, allocations: 263.2 kB / 475.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2018, allocations: 4 kB / 475.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000819/0.2026, allocations: 159.8 kB / 475.4 MB, free: 15.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (streamNL.T[1],streamNL.T[2],streamNL.T[3],streamNL.T[4],streamNL.T[5],streamLIN.T[1],streamLIN.T[2],streamLIN.T[3],streamLIN.T[4],streamLIN.T[5]) * 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 (54): * Single equations (assignments): 52 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002439/0.2029, allocations: 135.2 kB / 475.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002095/0.205, allocations: 0.6478 MB / 476.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.205, allocations: 0 / 476.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.2061, allocations: 355.8 kB / 476.5 MB, free: 14.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008609/0.207, allocations: 101.6 kB / 476.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/0.2121, allocations: 2.129 MB / 478.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.2126, allocations: 0.8598 MB / 479.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007588/0.2134, allocations: 140.3 kB / 479.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.2137, allocations: 51.42 kB / 479.8 MB, free: 10.72 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2137, allocations: 0 / 479.8 MB, free: 10.72 MB / 346.7 MB Notification: Performance of Templates: time 0.01256/0.2262, allocations: 7.657 MB / 487.4 MB, free: 3.082 MB / 346.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.pipe 2>&1)