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_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_Transport.Valve_linearisation_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002") translateModel(AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.08444/0.08444, allocations: 19.4 MB / 34.65 MB, free: 200 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.00123/0.001231, allocations: 179.9 kB / 40.28 MB, free: 6.531 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.347/1.347, allocations: 225.7 MB / 271.5 MB, free: 3.234 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.0009008/0.0009005, allocations: 83.78 kB / 327.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003422, allocations: 8 kB / 395.4 MB, free: 47.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08073/0.08109, allocations: 55.19 MB / 450.6 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002): time 0.003447/0.08458, allocations: 3.246 MB / 453.8 MB, free: 5.395 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.08698, allocations: 1.164 MB / 455 MB, free: 4.188 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.08731, allocations: 8 kB / 455 MB, free: 4.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.08751, allocations: 59.53 kB / 455 MB, free: 4.121 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.08802, allocations: 178.8 kB / 455.2 MB, free: 3.945 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.0885, allocations: 179.7 kB / 455.4 MB, free: 3.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008913/0.0894, allocations: 0.9317 MB / 456.3 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007453/0.09015, allocations: 0.5439 MB / 456.9 MB, free: 2.289 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005669/0.09073, allocations: 366.9 kB / 457.2 MB, free: 1.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007749/0.09152, allocations: 0.5491 MB / 457.8 MB, free: 1.379 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.09172, allocations: 64 kB / 457.8 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.09199, allocations: 91.97 kB / 457.9 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.09223, allocations: 231.3 kB / 458.2 MB, free: 1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.0927, allocations: 423.8 kB / 458.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008815/0.09359, allocations: 0.9771 MB / 459.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.09361, allocations: 0 / 459.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.09361, allocations: 0 / 459.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.09364, allocations: 0 / 459.5 MB, free: 15.6 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002457/0.0961, allocations: 0.9549 MB / 460.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.09616, allocations: 13.16 kB / 460.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.09637, allocations: 68.09 kB / 460.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006908/0.09707, allocations: 455.2 kB / 461 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.09712, allocations: 41.69 kB / 461.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.09727, allocations: 64.22 kB / 461.1 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.09859, allocations: 0.7328 MB / 461.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.09861, allocations: 0 / 461.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.09869, allocations: 20 kB / 461.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.09871, allocations: 16 kB / 461.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.1001, allocations: 0.8015 MB / 462.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/0.1041, allocations: 2.008 MB / 464.7 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.1051, allocations: 0.6339 MB / 465.3 MB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/0.1057, allocations: 406.4 kB / 465.7 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.1059, allocations: 97.64 kB / 465.8 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.106, allocations: 43.12 kB / 465.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005797/0.1065, allocations: 147.3 kB / 466 MB, free: 8.922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=68): time 2.926e-06/0.1066, allocations: 0 / 466 MB, free: 8.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.01032/0.1169, allocations: 2.58 MB / 468.6 MB, free: 6.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.1169, allocations: 55.97 kB / 468.7 MB, free: 6.203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.1174, allocations: 425.9 kB / 469.1 MB, free: 5.777 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/0.1175, allocations: 41.7 kB / 469.1 MB, free: 5.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1176, allocations: 260.6 kB / 469.4 MB, free: 5.473 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.1178, allocations: 253.2 kB / 469.6 MB, free: 5.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.1179, allocations: 16 kB / 469.6 MB, free: 5.207 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1181, allocations: 374.7 kB / 470 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006211/0.1187, allocations: 349.8 kB / 470.3 MB, free: 4.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006897/0.1194, allocations: 482.7 kB / 470.8 MB, free: 3.977 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.1207, allocations: 0.8495 MB / 471.7 MB, free: 3.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1207, allocations: 4 kB / 471.7 MB, free: 3.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006362/0.1271, allocations: 1.736 MB / 473.4 MB, free: 1.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.1271, allocations: 11.94 kB / 473.4 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1272, allocations: 0 / 473.4 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00601/0.1332, allocations: 0.8378 MB / 474.2 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.1345, allocations: 247.7 kB / 474.5 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005516/0.14, allocations: 3.852 MB / 478.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006384/0.1406, allocations: 36.08 kB / 478.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.1408, allocations: 47.89 kB / 478.4 MB, free: 12.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,8,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002842/0.141, allocations: 193.7 kB / 478.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.1412, allocations: 59.34 kB / 478.7 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004644/0.1458, allocations: 1.497 MB / 480.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.1459, allocations: 12 kB / 480.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.1459, allocations: 4 kB / 480.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.1459, allocations: 7.969 kB / 480.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.1469, allocations: 0.7634 MB / 480.9 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.147, allocations: 3.938 kB / 481 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.1481, allocations: 223.6 kB / 481.2 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004242/0.1524, allocations: 0.6075 MB / 481.8 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/0.1524, allocations: 23.98 kB / 481.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003498/0.1559, allocations: 3.205 MB / 485 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.156, allocations: 0 / 485 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/0.1609, allocations: 1.889 MB / 486.9 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.1611, allocations: 140.5 kB / 487 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.1612, allocations: 27.88 kB / 487.1 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.1617, allocations: 27.97 kB / 487.1 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.1618, allocations: 64.84 kB / 487.2 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.504e-05/0.1619, allocations: 23.98 kB / 487.2 MB, free: 3.027 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003107/0.1622, allocations: 295.1 kB / 487.5 MB, free: 2.738 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1622, allocations: 0 / 487.5 MB, free: 2.738 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007209/0.163, allocations: 235.8 kB / 487.7 MB, free: 2.508 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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,8,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001883/0.1631, allocations: 133.9 kB / 487.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002116/0.1653, allocations: 1.129 MB / 489 MB, free: 1.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1653, allocations: 0 / 489 MB, free: 1.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.1665, allocations: 0.6604 MB / 489.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.1671, allocations: 121.6 kB / 489.7 MB, free: 448 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.171, allocations: 2.475 MB / 492.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.1715, allocations: 0.9196 MB / 493.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000526/0.172, allocations: 149 kB / 493.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.1722, allocations: 59.42 kB / 493.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1722, allocations: 0 / 493.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of Templates: time 0.0182/0.1904, allocations: 11.33 MB / 0.4928 GB, free: 1.465 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002.sim & ./AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002.pipe 2>&1)