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.0008449/0.0008449, allocations: 75.7 kB / 20.8 MB, free: 3.711 MB / 18.57 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.0007623/0.0007623, allocations: 166.3 kB / 24.09 MB, free: 424 kB / 18.57 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 0.9069/0.9069, allocations: 177.1 MB / 204.4 MB, free: 5.688 MB / 186.7 MB " [Timeout remaining time 179] 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.06557/0.06557, allocations: 18.13 MB / 279 MB, free: 11.47 MB / 266.7 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) 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 2.695e-06/2.695e-06, allocations: 0 / 417.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.145e-05/4.414e-05, allocations: 2.281 kB / 417.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI): time 0.002279/0.002323, allocations: 0.9563 MB / 418.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.003647, allocations: 1.234 MB / 419.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.762e-05/0.003734, allocations: 2.031 kB / 419.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.00405, allocations: 34.25 kB / 419.6 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.004208, allocations: 54.44 kB / 419.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.004455, allocations: 112.2 kB / 419.8 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.00465, allocations: 135.8 kB / 419.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.004757, allocations: 25 kB / 419.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.004858, allocations: 64.7 kB / 420 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.005005, allocations: 77.28 kB / 420.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.005034, allocations: 9.156 kB / 420.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.005052, allocations: 13.34 kB / 420.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.005114, allocations: 40.56 kB / 420.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.00516, allocations: 38.33 kB / 420.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.005326, allocations: 112.1 kB / 420.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.005329, allocations: 0.6562 kB / 420.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.00533, allocations: 0 / 420.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.005336, allocations: 5.219 kB / 420.3 MB, free: 10.07 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006978/0.006034, allocations: 425 kB / 420.7 MB, free: 9.758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.006073, allocations: 10.58 kB / 420.7 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.006112, allocations: 16.84 kB / 420.7 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.006434, allocations: 222.8 kB / 420.9 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.006445, allocations: 2.688 kB / 420.9 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.006474, allocations: 13.78 kB / 420.9 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.006623, allocations: 94.17 kB / 421 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.006631, allocations: 0.9844 kB / 421 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.006643, allocations: 1.781 kB / 421 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.006649, allocations: 5.438 kB / 421 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.006776, allocations: 85.8 kB / 421.1 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.007233, allocations: 340.1 kB / 421.5 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.007531, allocations: 152.5 kB / 421.6 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.223e-05/0.007594, allocations: 44.86 kB / 421.7 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.007617, allocations: 3.312 kB / 421.7 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.00763, allocations: 35.81 kB / 421.7 MB, free: 9.121 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.007631, allocations: 0 / 421.7 MB, free: 9.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.001312/0.008943, allocations: 409.5 kB / 422.1 MB, free: 9.008 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.008962, allocations: 57.88 kB / 422.1 MB, free: 8.941 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.009225, allocations: 235.3 kB / 422.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.009236, allocations: 29.7 kB / 422.4 MB, free: 8.777 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.009285, allocations: 110.2 kB / 422.5 MB, free: 8.676 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.009322, allocations: 38.56 kB / 422.6 MB, free: 8.645 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.00936, allocations: 24.92 kB / 422.6 MB, free: 8.625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.009401, allocations: 323.5 kB / 422.9 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.076e-05/0.009452, allocations: 36.3 kB / 422.9 MB, free: 8.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.998e-05/0.009502, allocations: 42.78 kB / 423 MB, free: 8.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007684/0.01027, allocations: 287.2 kB / 423.2 MB, free: 8.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01027, allocations: 4 kB / 423.3 MB, free: 8.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004999/0.01077, allocations: 249 kB / 423.5 MB, free: 8.109 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.01079, allocations: 4.844 kB / 423.5 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01079, allocations: 1.703 kB / 423.5 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004525/0.01125, allocations: 111 kB / 423.6 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.319e-05/0.01129, allocations: 10.94 kB / 423.6 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.01324, allocations: 1.741 MB / 425.4 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.01334, allocations: 38.81 kB / 425.4 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.01335, allocations: 2.516 kB / 425.4 MB, free: 6.676 MB / 330.7 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 8.126e-05/0.01343, allocations: 132 kB / 425.5 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.01346, allocations: 13.38 kB / 425.5 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004749/0.01393, allocations: 272.1 kB / 425.8 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01394, allocations: 2.125 kB / 425.8 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.01394, allocations: 0.5156 kB / 425.8 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01395, allocations: 1.844 kB / 425.8 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.01409, allocations: 170.5 kB / 426 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01409, allocations: 0 / 426 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.01414, allocations: 10.19 kB / 426 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000313/0.01445, allocations: 114.1 kB / 426.1 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.01447, allocations: 2.344 kB / 426.1 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.01581, allocations: 1.676 MB / 427.8 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01581, allocations: 0 / 427.8 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.01637, allocations: 397.2 kB / 428.2 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.01639, allocations: 15.64 kB / 428.2 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.01641, allocations: 10.75 kB / 428.2 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.01652, allocations: 22.28 kB / 428.2 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.01655, allocations: 18.83 kB / 428.2 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.01656, allocations: 7.984 kB / 428.2 MB, free: 4.629 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002055/0.01676, allocations: 190.4 kB / 428.4 MB, free: 4.531 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01676, allocations: 0 / 428.4 MB, free: 4.531 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.01696, allocations: 28.38 kB / 428.5 MB, free: 4.527 MB / 330.7 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 8.352e-05/0.01705, allocations: 103.9 kB / 428.6 MB, free: 4.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003381/0.01738, allocations: 241.1 kB / 428.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.01739, allocations: 1.125 kB / 428.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.01752, allocations: 200.3 kB / 429 MB, free: 4.129 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.01775, allocations: 23.62 kB / 429 MB, free: 4.117 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.01819, allocations: 297.6 kB / 429.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.47e-05/0.01829, allocations: 118.5 kB / 429.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.478e-05/0.01834, allocations: 23.77 kB / 429.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.01837, allocations: 13.39 kB / 429.5 MB, free: 3.828 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01837, allocations: 1.219 kB / 429.5 MB, free: 3.828 MB / 330.7 MB Notification: Performance of Templates: time 0.00498/0.02335, allocations: 2.507 MB / 432 MB, free: 3.605 MB / 330.7 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 -variableFilter=.* -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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: 2.984150837175548] Failed to read output from testmodel.py, exit status != 0: 0.03030444961041212 0.038236263 0.031265408 Calling exit ...