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_003.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.0006287/0.0006287, allocations: 71.59 kB / 20.8 MB, free: 3.719 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.0007492/0.0007492, allocations: 166 kB / 24.09 MB, free: 428 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.8393/0.8393, allocations: 177.1 MB / 204.4 MB, free: 5.699 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.05952/0.05952, allocations: 18.13 MB / 279 MB, free: 11.48 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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003") translateModel(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 416.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.928e-05, allocations: 3.125 kB / 416.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003): time 0.002702/0.002731, allocations: 3.124 MB / 419.7 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.004306, allocations: 1.028 MB / 420.7 MB, free: 9.477 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.0045, allocations: 9.281 kB / 420.7 MB, free: 9.473 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.004682, allocations: 76.39 kB / 420.8 MB, free: 9.426 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004082/0.005091, allocations: 222.7 kB / 421 MB, free: 9.273 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005852/0.005676, allocations: 234.2 kB / 421.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007689/0.006445, allocations: 0.8827 MB / 422.1 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006361/0.007081, allocations: 0.5626 MB / 422.7 MB, free: 8.371 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005715/0.007652, allocations: 411.1 kB / 423.1 MB, free: 8.207 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006306/0.008283, allocations: 0.4926 MB / 423.6 MB, free: 8.051 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.008455, allocations: 100.2 kB / 423.7 MB, free: 8.051 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.008666, allocations: 135.6 kB / 423.8 MB, free: 8.039 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.008858, allocations: 286.3 kB / 424.1 MB, free: 7.875 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.00914, allocations: 337.5 kB / 424.4 MB, free: 7.719 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.01022, allocations: 1.153 MB / 425.6 MB, free: 7.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.01022, allocations: 4 kB / 425.6 MB, free: 7.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.01022, allocations: 0 / 425.6 MB, free: 7.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.01024, allocations: 1.156 kB / 425.6 MB, free: 7.277 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.001661/0.0119, allocations: 0.9708 MB / 426.6 MB, free: 6.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.01194, allocations: 11.38 kB / 426.6 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.01208, allocations: 75.34 kB / 426.7 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.01256, allocations: 415 kB / 427.1 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.01259, allocations: 43.44 kB / 427.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-05/0.01268, allocations: 61.61 kB / 427.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.01378, allocations: 0.8173 MB / 428 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.01379, allocations: 192 / 428 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.01384, allocations: 21.31 kB / 428 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.01385, allocations: 16.72 kB / 428 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.01492, allocations: 0.8392 MB / 428.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.01789, allocations: 2.023 MB / 430.9 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007349/0.01863, allocations: 0.5963 MB / 431.5 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005773/0.0192, allocations: 426.9 kB / 431.9 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.01925, allocations: 11.38 kB / 431.9 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.01927, allocations: 38.31 kB / 431.9 MB, free: 4.156 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005361/0.01981, allocations: 237.2 kB / 432.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of pre-optimization done (n=66): time 2.685e-06/0.01981, allocations: 0 / 432.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.008541/0.02835, allocations: 3.901 MB / 436.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.02838, allocations: 64.69 kB / 436.1 MB, free: 2.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.02874, allocations: 412.1 kB / 436.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/0.02882, allocations: 40.14 kB / 436.6 MB, free: 1.789 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/0.02891, allocations: 277.2 kB / 436.8 MB, free: 1.543 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.02906, allocations: 290.6 kB / 437.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.02925, allocations: 180.3 kB / 437.3 MB, free: 1.176 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.565e-05/0.0293, allocations: 369.4 kB / 437.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000539/0.02984, allocations: 408.6 kB / 438.1 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.03041, allocations: 0.5195 MB / 438.6 MB, free: 280 kB / 330.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/0.0431, allocations: 4.822 MB / 443.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.04311, allocations: 0 / 443.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003582/0.04669, allocations: 1.785 MB / 445.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.04672, allocations: 10.66 kB / 445.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.04673, allocations: 4 kB / 445.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003252/0.04998, allocations: 1.035 MB / 446.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009226/0.0509, allocations: 259.6 kB / 446.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/0.05538, allocations: 5.12 MB / 451.6 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/0.05608, allocations: 39.97 kB / 451.7 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.05615, allocations: 50.38 kB / 451.7 MB, free: 4.344 MB / 346.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.streamNL.w = 0.0 $DER.streamLIN.w = 0.0. 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 (82): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003615/0.05651, allocations: 210.6 kB / 451.9 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.0566, allocations: 63.66 kB / 452 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.05926, allocations: 1.55 MB / 453.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.05927, allocations: 12 kB / 453.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.05927, allocations: 0 / 453.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.05928, allocations: 7.984 kB / 453.5 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/0.06231, allocations: 2.107 MB / 455.6 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.06231, allocations: 0 / 455.6 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/0.06293, allocations: 219.8 kB / 455.9 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/0.06454, allocations: 0.6914 MB / 456.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-05/0.06461, allocations: 31.97 kB / 456.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/0.0678, allocations: 4.453 MB / 461 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.0678, allocations: 0 / 461 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/0.07075, allocations: 1.964 MB / 463 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.07093, allocations: 63.52 kB / 463.1 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.867e-05/0.071, allocations: 27.98 kB / 463.1 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.07131, allocations: 31.97 kB / 463.1 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.07143, allocations: 68.86 kB / 463.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.07147, allocations: 31.97 kB / 463.2 MB, free: 8.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000231/0.0717, allocations: 287.2 kB / 463.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0717, allocations: 0 / 463.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006327/0.07233, allocations: 243.9 kB / 463.7 MB, free: 7.969 MB / 362.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 (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 4 systems {(1,4), (1,4), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00021/0.07254, allocations: 141.8 kB / 463.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.07442, allocations: 1.238 MB / 465.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.07442, allocations: 8.062 kB / 465.1 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009433/0.07537, allocations: 0.7227 MB / 465.8 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.07586, allocations: 139 kB / 466 MB, free: 5.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.0785, allocations: 1.925 MB / 467.9 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.07873, allocations: 340.2 kB / 468.2 MB, free: 3.379 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003428/0.07908, allocations: 149.2 kB / 468.4 MB, free: 3.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.07923, allocations: 68.47 kB / 468.5 MB, free: 3.164 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.07923, allocations: 0 / 468.5 MB, free: 3.164 MB / 362.7 MB Notification: Performance of Templates: time 0.01547/0.0947, allocations: 14.5 MB / 482.9 MB, free: 4.879 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003.sim & ./AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003 -lv=LOG_STATS -s=dassl -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_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.147834673523903] Failed to read output from testmodel.py, exit status != 0: 0.10061164759099483 0.10839654300000001 0.09651026700000001 Calling exit ...