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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 103.6 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1021/0.1021, allocations: 22.69 MB / 325.4 MB, free: 3.539 MB / 254.1 MB " [Timeout remaining time 180] 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=5000,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=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.89 kB / 457.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1262, allocations: 58.03 MB / 0.5036 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI): time 0.002623/0.1288, allocations: 0.9813 MB / 0.5046 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1307, allocations: 1.225 MB / 0.5058 GB, free: 4.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.838e-05/0.1308, allocations: 4 kB / 0.5058 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.1311, allocations: 35.77 kB / 0.5058 GB, free: 4.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.1313, allocations: 51.75 kB / 0.5058 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.1315, allocations: 63.84 kB / 0.5059 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.1318, allocations: 207.6 kB / 0.5061 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1319, allocations: 29.36 kB / 0.5061 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.132, allocations: 79.75 kB / 0.5062 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.1323, allocations: 99.62 kB / 0.5063 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.1323, allocations: 8 kB / 0.5063 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.078e-05/0.1323, allocations: 8 kB / 0.5063 GB, free: 4.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.627e-05/0.1324, allocations: 47.81 kB / 0.5064 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.1325, allocations: 51.73 kB / 0.5064 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1327, allocations: 115.4 kB / 0.5065 GB, free: 4.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1327, allocations: 0 / 0.5065 GB, free: 4.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1327, allocations: 4 kB / 0.5065 GB, free: 4.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1327, allocations: 0 / 0.5065 GB, free: 4.109 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001177/0.1338, allocations: 0.4949 MB / 0.507 GB, free: 3.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1339, allocations: 8.031 kB / 0.507 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.1339, allocations: 16.84 kB / 0.507 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006713/0.1346, allocations: 281.3 kB / 0.5073 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1346, allocations: 4.375 kB / 0.5073 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.1347, allocations: 12.36 kB / 0.5073 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.1349, allocations: 105.9 kB / 0.5074 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1349, allocations: 0 / 0.5074 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1349, allocations: 0 / 0.5074 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.1349, allocations: 11.92 kB / 0.5074 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.1351, allocations: 79.95 kB / 0.5075 GB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.1358, allocations: 416.5 kB / 0.5079 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.1362, allocations: 146.7 kB / 0.508 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.564e-05/0.1363, allocations: 44.83 kB / 0.5081 GB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.1363, allocations: 7.984 kB / 0.5081 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1364, allocations: 30.56 kB / 0.5081 GB, free: 2.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1364, allocations: 4 kB / 0.5081 GB, free: 2.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.00271/0.1391, allocations: 487.1 kB / 0.5086 GB, free: 1.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.1391, allocations: 59.34 kB / 0.5086 GB, free: 1.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.1396, allocations: 233.8 kB / 0.5089 GB, free: 1.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1397, allocations: 25.7 kB / 0.5089 GB, free: 1.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.1398, allocations: 108.1 kB / 0.509 GB, free: 1.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.1398, allocations: 39.78 kB / 0.509 GB, free: 1.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.1399, allocations: 25.72 kB / 0.5091 GB, free: 1.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002849/0.1402, allocations: 322.8 kB / 0.5094 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.1403, allocations: 35.97 kB / 0.5094 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.1404, allocations: 35.97 kB / 0.5094 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.1419, allocations: 296.6 kB / 0.5097 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1419, allocations: 0 / 0.5097 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009734/0.1429, allocations: 246.2 kB / 0.51 GB, free: 352 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1429, allocations: 4 kB / 0.51 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1429, allocations: 480 / 0.51 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000902/0.1438, allocations: 120.7 kB / 0.5101 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.1439, allocations: 8 kB / 0.5101 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.257/0.4008, allocations: 1.872 MB / 0.5119 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.4011, allocations: 25.8 kB / 0.5119 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.4011, allocations: 7.703 kB / 0.5119 GB, free: 14.55 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] A.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.4013, allocations: 135.5 kB / 0.5121 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.4013, allocations: 9.141 kB / 0.5121 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008707/0.4022, allocations: 273.8 kB / 0.5123 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4022, allocations: 1.438 kB / 0.5123 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.4022, allocations: 1.906 kB / 0.5123 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4022, allocations: 0 / 0.5123 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.4025, allocations: 243.5 kB / 0.5126 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4025, allocations: 0 / 0.5126 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.4025, allocations: 8.25 kB / 0.5126 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006379/0.4032, allocations: 117.8 kB / 0.5127 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.4032, allocations: 6.688 kB / 0.5127 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/0.4057, allocations: 1.806 MB / 0.5145 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4057, allocations: 5.625 kB / 0.5145 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000845/0.4065, allocations: 406 kB / 0.5149 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.4065, allocations: 89.05 kB / 0.5149 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.4066, allocations: 1.062 kB / 0.5149 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.4068, allocations: 31.27 kB / 0.515 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.4068, allocations: 6.125 kB / 0.515 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.4068, allocations: 11.06 kB / 0.515 GB, free: 12.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003508/0.4072, allocations: 187.6 kB / 0.5152 GB, free: 12.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4072, allocations: 0 / 0.5152 GB, free: 12.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.4075, allocations: 31.89 kB / 0.5152 GB, free: 12.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (A.x_scaled[1],C.x_scaled[1]) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001055/0.4076, allocations: 109.7 kB / 0.5153 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004232/0.408, allocations: 236 kB / 0.5155 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.408, allocations: 0 / 0.5155 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.4082, allocations: 195.3 kB / 0.5157 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.4086, allocations: 25.03 kB / 0.5157 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.4091, allocations: 317.1 kB / 0.516 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.4092, allocations: 0.7253 MB / 0.5168 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.077e-05/0.4093, allocations: 21.81 kB / 0.5168 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.4093, allocations: 12.59 kB / 0.5168 GB, free: 11.31 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4093, allocations: 0 / 0.5168 GB, free: 11.31 MB / 382.1 MB Notification: Performance of Templates: time 0.006592/0.4159, allocations: 2.584 MB / 0.5193 GB, free: 11.22 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.sim & ./AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.908512534108013] Failed to read output from testmodel.py, exit status != 0: 0.42366386391222477 0.434038526 0.298758664 Calling exit ...