Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI") translateModel(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009959/0.000996, allocations: 107.5 kB / 16.42 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 189.5 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08726/0.08726, allocations: 22.32 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.333e-05, allocations: 2.281 kB / 437.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI): time 0.002534/0.002568, allocations: 0.9781 MB / 438.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.004428, allocations: 1.205 MB / 439.9 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.101e-05/0.00453, allocations: 0 / 439.9 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.004872, allocations: 39.77 kB / 439.9 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.005054, allocations: 51.75 kB / 439.9 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.005239, allocations: 71.91 kB / 440 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.005548, allocations: 223.5 kB / 440.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.005673, allocations: 33.36 kB / 440.3 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.005785, allocations: 79.73 kB / 440.3 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.005934, allocations: 67.73 kB / 440.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.005974, allocations: 16 kB / 440.4 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.92e-05/0.005999, allocations: 8 kB / 440.4 MB, free: 9.055 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001723/0.006176, allocations: 205.7 kB / 440.6 MB, free: 8.852 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.511e-05/0.006248, allocations: 122.2 kB / 440.8 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.006279, allocations: 15.94 kB / 440.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.142e-05/0.006306, allocations: 4 kB / 440.8 MB, free: 8.711 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 (16) * Number of variables: 16 (16) Notification: Performance of Bindings: time 0.0006301/0.00694, allocations: 0.6084 MB / 441.4 MB, free: 8 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.039e-05/0.007027, allocations: 27.95 kB / 441.4 MB, free: 7.973 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002339/0.007268, allocations: 248.2 kB / 441.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of simplify1: time 3.287e-05/0.007307, allocations: 27.97 kB / 441.7 MB, free: 7.676 MB / 318.1 MB Notification: Performance of Alias: time 0.0005711/0.007883, allocations: 403.2 kB / 442.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simplify2: time 2.799e-05/0.007922, allocations: 23.97 kB / 442.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of Events: time 2.569e-05/0.007953, allocations: 19.97 kB / 442.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001353/0.008092, allocations: 98.2 kB / 442.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001022/0.008202, allocations: 60.11 kB / 442.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002945/0.008503, allocations: 251.8 kB / 442.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001691/0.008681, allocations: 200.2 kB / 442.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of Inline: time 0.0004072/0.009094, allocations: 421.7 kB / 443.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of Partitioning: time 2.688e-05/0.00913, allocations: 32.09 kB / 443.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of Cleanup: time 1.653e-05/0.009152, allocations: 11.98 kB / 443.2 MB, free: 6.008 MB / 318.1 MB Notification: Performance of Causalize: time 0.001054/0.01021, allocations: 0.9044 MB / 444.1 MB, free: 5.102 MB / 318.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!