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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 109.4 kB / 17.15 MB, free: 6.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 203.2 kB / 20.11 MB, free: 3.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.751/1.751, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1052/0.1052, allocations: 24.03 MB / 333.6 MB, free: 1.547 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 66.22 kB / 469.6 MB, free: 30.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1211, allocations: 59.55 MB / 0.5168 GB, free: 11.07 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.002504/0.1236, allocations: 0.98 MB / 0.5177 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.1255, allocations: 1.272 MB / 0.519 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.1256, allocations: 7.938 kB / 0.519 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.1259, allocations: 27.78 kB / 0.519 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.1261, allocations: 59.69 kB / 0.519 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.1263, allocations: 67.89 kB / 0.5191 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.1266, allocations: 199.6 kB / 0.5193 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1267, allocations: 25.44 kB / 0.5193 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1268, allocations: 87.72 kB / 0.5194 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.127, allocations: 103.6 kB / 0.5195 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.127, allocations: 8 kB / 0.5195 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.134e-05/0.1271, allocations: 8 kB / 0.5195 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.877e-05/0.1271, allocations: 35.91 kB / 0.5196 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.1272, allocations: 59.58 kB / 0.5196 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.1274, allocations: 111.5 kB / 0.5197 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1274, allocations: 0 / 0.5197 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1274, allocations: 0 / 0.5197 GB, free: 8.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1274, allocations: 4 kB / 0.5197 GB, free: 8.008 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.001204/0.1286, allocations: 0.5026 MB / 0.5202 GB, free: 7.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1287, allocations: 8.625 kB / 0.5202 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.1287, allocations: 8.891 kB / 0.5202 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.1293, allocations: 280.6 kB / 0.5205 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1294, allocations: 8.375 kB / 0.5205 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.1294, allocations: 8.359 kB / 0.5205 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.1296, allocations: 104.1 kB / 0.5206 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1296, allocations: 0 / 0.5206 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1296, allocations: 0 / 0.5206 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1296, allocations: 4 kB / 0.5206 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.1298, allocations: 87.88 kB / 0.5207 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.1306, allocations: 412.6 kB / 0.5211 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.131, allocations: 150.7 kB / 0.5212 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.743e-05/0.1311, allocations: 44.78 kB / 0.5213 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.1311, allocations: 7.984 kB / 0.5213 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1312, allocations: 34.56 kB / 0.5213 GB, free: 6.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1312, allocations: 0 / 0.5213 GB, free: 6.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.002661/0.1338, allocations: 491 kB / 0.5218 GB, free: 5.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.1339, allocations: 51.41 kB / 0.5218 GB, free: 5.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004937/0.1344, allocations: 231.2 kB / 0.5221 GB, free: 5.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1344, allocations: 34.08 kB / 0.5221 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.829e-05/0.1345, allocations: 108.1 kB / 0.5222 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.1345, allocations: 35.83 kB / 0.5222 GB, free: 5.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.1346, allocations: 29.7 kB / 0.5223 GB, free: 5.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1348, allocations: 326.8 kB / 0.5226 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.1348, allocations: 31.98 kB / 0.5226 GB, free: 4.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.1349, allocations: 39.97 kB / 0.5226 GB, free: 4.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.1363, allocations: 292.5 kB / 0.5229 GB, free: 4.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1364, allocations: 0 / 0.5229 GB, free: 4.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001023/0.1374, allocations: 254.1 kB / 0.5232 GB, free: 4.227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1374, allocations: 6.5 kB / 0.5232 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1374, allocations: 3.984 kB / 0.5232 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000944/0.1383, allocations: 112.8 kB / 0.5233 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.1384, allocations: 11.98 kB / 0.5233 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/0.1427, allocations: 1.88 MB / 0.5251 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.1429, allocations: 31.94 kB / 0.5252 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1429, allocations: 3.938 kB / 0.5252 GB, free: 2.031 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.0001608/0.1431, allocations: 134.9 kB / 0.5253 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.1431, allocations: 15.84 kB / 0.5253 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008787/0.144, allocations: 266.8 kB / 0.5256 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.144, allocations: 0 / 0.5256 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.144, allocations: 3.938 kB / 0.5256 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.144, allocations: 0 / 0.5256 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.1443, allocations: 241.7 kB / 0.5258 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1444, allocations: 4 kB / 0.5258 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.1444, allocations: 8 kB / 0.5258 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000626/0.1451, allocations: 108.8 kB / 0.5259 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.1451, allocations: 8 kB / 0.5259 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.1481, allocations: 1.813 MB / 0.5277 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1481, allocations: 96 / 0.5277 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009893/0.1491, allocations: 404 kB / 0.5281 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.1492, allocations: 92.95 kB / 0.5282 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1492, allocations: 12 kB / 0.5282 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.1494, allocations: 27.95 kB / 0.5282 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.1495, allocations: 11.98 kB / 0.5282 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1495, allocations: 4 kB / 0.5282 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004309/0.1499, allocations: 187.8 kB / 0.5284 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1499, allocations: 0 / 0.5284 GB, free: 14.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.1502, allocations: 36 kB / 0.5284 GB, free: 14.44 MB / 398.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.0001521/0.1504, allocations: 99.25 kB / 0.5285 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005553/0.1509, allocations: 238.4 kB / 0.5287 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.151, allocations: 0 / 0.5287 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.1512, allocations: 198.6 kB / 0.5289 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1516, allocations: 16 kB / 0.529 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006604/0.1522, allocations: 318.9 kB / 0.5293 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.1527, allocations: 0.728 MB / 0.53 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.171e-05/0.1528, allocations: 20.62 kB / 0.53 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.1528, allocations: 15.44 kB / 0.53 GB, free: 12.74 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1528, allocations: 0 / 0.53 GB, free: 12.74 MB / 398.1 MB Notification: Performance of Templates: time 0.006787/0.1596, allocations: 2.586 MB / 0.5325 GB, free: 10.19 MB / 398.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_STDOUT,LOG_ASSERT,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: 5.186771370470524] Failed to read output from testmodel.py, exit status != 0: 0.16854586079716682 0.18300972099999996 0.05248899099999994 Calling exit ...