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.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.001295/0.001295, allocations: 104.5 kB / 16.45 MB, free: 6.512 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.001382/0.001382, allocations: 198.8 kB / 19.41 MB, free: 3.668 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.496/1.496, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.1106/0.1106, allocations: 22.7 MB / 325.4 MB, free: 3.551 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_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 0.002816/0.002816, allocations: 67.89 kB / 457.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.127, allocations: 58.01 MB / 0.5036 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003): time 0.005045/0.132, allocations: 3.46 MB / 0.507 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.1342, allocations: 1.044 MB / 0.508 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.1344, allocations: 8 kB / 0.508 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.1346, allocations: 79.2 kB / 0.5081 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004818/0.1351, allocations: 214.4 kB / 0.5083 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.1357, allocations: 219.6 kB / 0.5085 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000962/0.1367, allocations: 0.8653 MB / 0.5093 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007598/0.1374, allocations: 0.541 MB / 0.5099 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005891/0.138, allocations: 422.8 kB / 0.5103 GB, free: 264 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2739/0.412, allocations: 0.5923 MB / 0.5109 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003691/0.4123, allocations: 101.9 kB / 0.511 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.4128, allocations: 133.8 kB / 0.5111 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.413, allocations: 274.1 kB / 0.5113 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004331/0.4134, allocations: 439.4 kB / 0.5118 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.4145, allocations: 1.065 MB / 0.5128 GB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4146, allocations: 2.547 kB / 0.5128 GB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4146, allocations: 0 / 0.5128 GB, free: 11.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.4146, allocations: 0 / 0.5128 GB, free: 11.34 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002391/0.417, allocations: 1.043 MB / 0.5138 GB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.417, allocations: 12.66 kB / 0.5138 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.4172, allocations: 75.59 kB / 0.5139 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006325/0.4178, allocations: 470.4 kB / 0.5144 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.4178, allocations: 50.19 kB / 0.5144 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.418, allocations: 57.36 kB / 0.5145 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.4194, allocations: 0.7629 MB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4194, allocations: 7.203 kB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.413e-05/0.4195, allocations: 26.03 kB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.4195, allocations: 12.75 kB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.421, allocations: 0.8371 MB / 0.5161 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005111/0.4261, allocations: 2.323 MB / 0.5183 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.4274, allocations: 0.6211 MB / 0.5189 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008815/0.4283, allocations: 420.2 kB / 0.5193 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.829e-05/0.4283, allocations: 19.27 kB / 0.5194 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.4284, allocations: 42.55 kB / 0.5194 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00108/0.4294, allocations: 238.4 kB / 0.5196 GB, free: 9.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 3.487e-06/0.4295, allocations: 0 / 0.5196 GB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.01691/0.4464, allocations: 4.055 MB / 0.5236 GB, free: 7.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.4464, allocations: 64.73 kB / 0.5236 GB, free: 7.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006187/0.447, allocations: 447.7 kB / 0.5241 GB, free: 7.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.4471, allocations: 40.95 kB / 0.5241 GB, free: 7.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4473, allocations: 269.9 kB / 0.5244 GB, free: 7.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.4475, allocations: 293.3 kB / 0.5246 GB, free: 6.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003534/0.4479, allocations: 184.9 kB / 0.5248 GB, free: 6.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.448, allocations: 373.8 kB / 0.5252 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008923/0.4489, allocations: 401.5 kB / 0.5256 GB, free: 6.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009071/0.4498, allocations: 0.5209 MB / 0.5261 GB, free: 6.098 MB / 382.1 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.02633/0.4761, allocations: 4.825 MB / 0.5308 GB, free: 4.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4761, allocations: 1.344 kB / 0.5308 GB, free: 4.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006306/0.4824, allocations: 1.788 MB / 0.5325 GB, free: 3.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4825, allocations: 11.66 kB / 0.5325 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4825, allocations: 3.188 kB / 0.5325 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006038/0.4885, allocations: 1.029 MB / 0.5336 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.49, allocations: 258.9 kB / 0.5338 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006468/0.4965, allocations: 5.281 MB / 0.539 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/0.4974, allocations: 36.25 kB / 0.539 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.4975, allocations: 53.5 kB / 0.539 GB, free: 14.68 MB / 398.1 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.0004442/0.498, allocations: 207.7 kB / 0.5392 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.4982, allocations: 64.69 kB / 0.5393 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/0.5028, allocations: 1.556 MB / 0.5408 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.5029, allocations: 8.969 kB / 0.5408 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.5029, allocations: 7.406 kB / 0.5408 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.5029, allocations: 5.078 kB / 0.5408 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005786/0.5087, allocations: 2.338 MB / 0.5431 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.5087, allocations: 0 / 0.5431 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.5099, allocations: 220.7 kB / 0.5433 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003396/0.5133, allocations: 0.6878 MB / 0.544 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.5134, allocations: 24.36 kB / 0.544 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005368/0.5188, allocations: 4.605 MB / 0.5485 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5188, allocations: 0 / 0.5485 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004963/0.5237, allocations: 1.965 MB / 0.5504 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.524, allocations: 146.7 kB / 0.5506 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.5241, allocations: 26.5 kB / 0.5506 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/0.5247, allocations: 33.91 kB / 0.5506 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.5249, allocations: 71.7 kB / 0.5507 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.805e-05/0.525, allocations: 31.23 kB / 0.5507 GB, free: 6.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003631/0.5253, allocations: 326 kB / 0.5511 GB, free: 6.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5253, allocations: 0 / 0.5511 GB, free: 6.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008628/0.5262, allocations: 239.1 kB / 0.5513 GB, free: 5.973 MB / 398.1 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.0002703/0.5265, allocations: 139.3 kB / 0.5514 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003284/0.5298, allocations: 1.237 MB / 0.5526 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5298, allocations: 0 / 0.5526 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.5316, allocations: 0.7385 MB / 0.5533 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/0.5323, allocations: 142.6 kB / 0.5535 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.537, allocations: 2.162 MB / 0.5556 GB, free: 2.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008043/0.5378, allocations: 0.9366 MB / 0.5565 GB, free: 1.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005669/0.5384, allocations: 152.2 kB / 0.5567 GB, free: 1.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.5387, allocations: 67.39 kB / 0.5567 GB, free: 1.184 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.5387, allocations: 0 / 0.5567 GB, free: 1.184 MB / 398.1 MB Notification: Performance of Templates: time 0.02955/0.5682, allocations: 14.94 MB / 0.5713 GB, free: 2.457 MB / 414.1 MB " [Timeout remaining time 659] 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 -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: 5.728949918877333] Failed to read output from testmodel.py, exit status != 0: 0.5783310057595372 0.589853616 0.172512252 Calling exit ...