Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Pumps_valve.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.002311/0.002311, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002405/0.002405, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.1095/0.1095, allocations: 24.12 MB / 337.3 MB, free: 11.46 MB / 270.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) Running command: translateModel(AES.Coursework.ThermSys_component_models.Pumps_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Pumps_valve") translateModel(AES.Coursework.ThermSys_component_models.Pumps_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Pumps_valve") [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.002265/0.002265, allocations: 67.84 kB / 474.6 MB, free: 5.895 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.352, allocations: 59.6 MB / 0.5216 GB, free: 10.51 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Pumps_valve): time 0.037/0.389, allocations: 23.43 MB / 0.5445 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3903, allocations: 452.3 kB / 0.545 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.3905, allocations: 4 kB / 0.545 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.3906, allocations: 45.95 kB / 0.545 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.3908, allocations: 107.7 kB / 0.5451 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.3912, allocations: 110.8 kB / 0.5452 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.3915, allocations: 416.8 kB / 0.5456 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/0.3919, allocations: 224.2 kB / 0.5458 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.392, allocations: 178.7 kB / 0.546 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.3923, allocations: 216.5 kB / 0.5462 GB, free: 472 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.3923, allocations: 36 kB / 0.5462 GB, free: 436 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.3924, allocations: 72.77 kB / 0.5463 GB, free: 372 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.498e-05/0.3925, allocations: 95.94 kB / 0.5464 GB, free: 292 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.3926, allocations: 192.5 kB / 0.5466 GB, free: 116 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.3932, allocations: 443.8 kB / 0.547 GB, free: 15.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3932, allocations: 4 kB / 0.547 GB, free: 15.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3932, allocations: 4 kB / 0.547 GB, free: 15.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.3932, allocations: 4 kB / 0.547 GB, free: 15.82 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001301/0.3945, allocations: 0.6021 MB / 0.5476 GB, free: 15.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3945, allocations: 12.86 kB / 0.5476 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.375e-05/0.3946, allocations: 48.66 kB / 0.5477 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.395, allocations: 240.9 kB / 0.5479 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.3951, allocations: 25.03 kB / 0.5479 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.3951, allocations: 24.38 kB / 0.5479 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/0.3958, allocations: 290 kB / 0.5482 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3958, allocations: 192 / 0.5482 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.3958, allocations: 15.94 kB / 0.5482 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3958, allocations: 4 kB / 0.5482 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006808/0.3965, allocations: 269.4 kB / 0.5485 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.3981, allocations: 0.7783 MB / 0.5492 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.3986, allocations: 218.5 kB / 0.5495 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.399, allocations: 135.4 kB / 0.5496 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.3991, allocations: 8.781 kB / 0.5496 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.3991, allocations: 47.52 kB / 0.5496 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003137/0.3994, allocations: 53.56 kB / 0.5497 GB, free: 13.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.3994, allocations: 4 kB / 0.5497 GB, free: 13.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.003727/0.4031, allocations: 0.7452 MB / 0.5504 GB, free: 12.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.4032, allocations: 55.41 kB / 0.5505 GB, free: 12.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.4035, allocations: 288.6 kB / 0.5507 GB, free: 12.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.4036, allocations: 29.7 kB / 0.5508 GB, free: 12.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.4037, allocations: 185.7 kB / 0.551 GB, free: 12.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/0.4038, allocations: 89.73 kB / 0.551 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.4039, allocations: 54.95 kB / 0.5511 GB, free: 12.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4041, allocations: 340.4 kB / 0.5514 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.4044, allocations: 102.7 kB / 0.5515 GB, free: 11.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.4047, allocations: 103.6 kB / 0.5516 GB, free: 11.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005886/0.4052, allocations: 245.1 kB / 0.5518 GB, free: 11.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.4053, allocations: 3.938 kB / 0.5519 GB, free: 11.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001886/0.4071, allocations: 0.4908 MB / 0.5523 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4072, allocations: 4.609 kB / 0.5523 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4072, allocations: 0 / 0.5523 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.4085, allocations: 213.2 kB / 0.5525 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.4091, allocations: 86.45 kB / 0.5526 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004955/0.414, allocations: 4.564 MB / 0.5571 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.4143, allocations: 16.81 kB / 0.5571 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.4143, allocations: 6.859 kB / 0.5571 GB, free: 6.043 MB / 398.1 MB 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 (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.4145, allocations: 151 kB / 0.5572 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.4146, allocations: 27.81 kB / 0.5573 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.4164, allocations: 0.5128 MB / 0.5578 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.4165, allocations: 4 kB / 0.5578 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4165, allocations: 0 / 0.5578 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.4165, allocations: 2.062 kB / 0.5578 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/0.4192, allocations: 0.9032 MB / 0.5587 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4192, allocations: 0 / 0.5587 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007199/0.4199, allocations: 86.94 kB / 0.5587 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000927/0.4209, allocations: 157.1 kB / 0.5589 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.4209, allocations: 13.36 kB / 0.5589 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005014/0.4259, allocations: 4.214 MB / 0.563 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.4259, allocations: 4.734 kB / 0.563 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.4279, allocations: 0.554 MB / 0.5636 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.428, allocations: 38.33 kB / 0.5636 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.4281, allocations: 8.516 kB / 0.5636 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.4284, allocations: 16.69 kB / 0.5636 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.4286, allocations: 34.23 kB / 0.5637 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.4286, allocations: 13.22 kB / 0.5637 GB, free: 15.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003565/0.429, allocations: 213 kB / 0.5639 GB, free: 15.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.429, allocations: 0 / 0.5639 GB, free: 15.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009575/0.4299, allocations: 95.89 kB / 0.564 GB, free: 15.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002364/0.4302, allocations: 108.6 kB / 0.5641 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002834/0.433, allocations: 0.6391 MB / 0.5647 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.433, allocations: 0 / 0.5647 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.4344, allocations: 433.5 kB / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.435, allocations: 64.17 kB / 0.5652 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.4367, allocations: 0.6695 MB / 0.5658 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/0.4373, allocations: 0.7923 MB / 0.5666 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.4375, allocations: 27.42 kB / 0.5666 GB, free: 12.45 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4375, allocations: 0 / 0.5666 GB, free: 12.45 MB / 414.1 MB Notification: Performance of Templates: time 0.01809/0.4556, allocations: 9.176 MB / 0.5756 GB, free: 3.266 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Pumps_valve.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Pumps_valve.sim & ./AES_AES.Coursework.ThermSys_component_models.Pumps_valve -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.883360938169062] Failed to read output from testmodel.py, exit status != 0: 0.4663860131986439 0.487255798 0.090041376 Calling exit ...