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.001255/0.001255, allocations: 108.8 kB / 16.45 MB, free: 6.453 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.001404/0.001404, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.611/1.611, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1056/0.1056, allocations: 24.02 MB / 332.9 MB, free: 12.72 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.002158/0.002158, allocations: 71.83 kB / 468.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4074, allocations: 59.53 MB / 0.5154 GB, free: 10.01 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.04209/0.4495, allocations: 23.54 MB / 0.5384 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.4507, allocations: 461.1 kB / 0.5388 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.4509, allocations: 2.656 kB / 0.5388 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.443e-05/0.4509, allocations: 43.53 kB / 0.5388 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.4512, allocations: 107.6 kB / 0.5389 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.4515, allocations: 110.3 kB / 0.539 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.4519, allocations: 414.1 kB / 0.5394 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.4522, allocations: 224.1 kB / 0.5397 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.4524, allocations: 172.9 kB / 0.5398 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.4526, allocations: 220 kB / 0.54 GB, free: 496 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.666e-05/0.4527, allocations: 37.81 kB / 0.5401 GB, free: 496 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.4528, allocations: 69.3 kB / 0.5401 GB, free: 484 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.4529, allocations: 91.59 kB / 0.5402 GB, free: 420 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.453, allocations: 193.8 kB / 0.5404 GB, free: 304 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.4535, allocations: 450.1 kB / 0.5408 GB, free: 112 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4535, allocations: 0 / 0.5408 GB, free: 112 kB / 382.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.4535, allocations: 0 / 0.5408 GB, free: 112 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.4535, allocations: 1.188 kB / 0.5408 GB, free: 112 kB / 382.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.001344/0.4548, allocations: 0.6838 MB / 0.5415 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4549, allocations: 10.34 kB / 0.5415 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.455, allocations: 52.47 kB / 0.5416 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.4554, allocations: 309.8 kB / 0.5419 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.4554, allocations: 19.16 kB / 0.5419 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.4555, allocations: 25 kB / 0.5419 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/0.4561, allocations: 284.6 kB / 0.5422 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4561, allocations: 192 / 0.5422 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.4562, allocations: 15.94 kB / 0.5422 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.4562, allocations: 5.25 kB / 0.5422 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.4569, allocations: 266.3 kB / 0.5424 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.4584, allocations: 0.8163 MB / 0.5432 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.459, allocations: 221.5 kB / 0.5435 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.4593, allocations: 135.7 kB / 0.5436 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.4594, allocations: 4.797 kB / 0.5436 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.539e-05/0.4594, allocations: 43.3 kB / 0.5436 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000295/0.4597, allocations: 54.48 kB / 0.5437 GB, free: 13.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.4597, allocations: 0 / 0.5437 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.00403/0.4637, allocations: 0.9798 MB / 0.5446 GB, free: 13.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.4638, allocations: 51.41 kB / 0.5447 GB, free: 13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.4642, allocations: 287.7 kB / 0.545 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.4642, allocations: 33.7 kB / 0.545 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.4644, allocations: 185.5 kB / 0.5452 GB, free: 12.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.4645, allocations: 77.72 kB / 0.5452 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4646, allocations: 58.77 kB / 0.5453 GB, free: 12.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4648, allocations: 340.7 kB / 0.5456 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.4651, allocations: 102.8 kB / 0.5457 GB, free: 12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.4654, allocations: 103.8 kB / 0.5458 GB, free: 11.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/0.466, allocations: 236.9 kB / 0.546 GB, free: 11.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.466, allocations: 3.938 kB / 0.5461 GB, free: 11.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002106/0.4681, allocations: 0.4915 MB / 0.5465 GB, free: 11.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.4682, allocations: 8.703 kB / 0.5465 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4682, allocations: 0 / 0.5465 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.4695, allocations: 205 kB / 0.5467 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.4702, allocations: 98.62 kB / 0.5468 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005659/0.4758, allocations: 4.781 MB / 0.5515 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.4762, allocations: 16.25 kB / 0.5515 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.4762, allocations: 11.28 kB / 0.5515 GB, free: 6.098 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.0002774/0.4765, allocations: 142.5 kB / 0.5517 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.4766, allocations: 32.52 kB / 0.5517 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.4784, allocations: 0.5075 MB / 0.5522 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.4784, allocations: 4.75 kB / 0.5522 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.4784, allocations: 4 kB / 0.5522 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.4784, allocations: 1.453 kB / 0.5522 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.4808, allocations: 0.9244 MB / 0.5531 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4808, allocations: 0 / 0.5531 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.4814, allocations: 86.88 kB / 0.5532 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007811/0.4822, allocations: 157.3 kB / 0.5533 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.4822, allocations: 4.609 kB / 0.5533 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004546/0.4867, allocations: 4.432 MB / 0.5577 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4867, allocations: 4.031 kB / 0.5577 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.4884, allocations: 0.5616 MB / 0.5582 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.4885, allocations: 111.4 kB / 0.5583 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.4886, allocations: 8.609 kB / 0.5583 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.4888, allocations: 16.59 kB / 0.5583 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.4889, allocations: 26.88 kB / 0.5584 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.489, allocations: 16.66 kB / 0.5584 GB, free: 15.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00028/0.4892, allocations: 203.5 kB / 0.5586 GB, free: 14.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4892, allocations: 0 / 0.5586 GB, free: 14.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006571/0.4899, allocations: 103.8 kB / 0.5587 GB, free: 14.82 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.000187/0.4901, allocations: 108.5 kB / 0.5588 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002446/0.4925, allocations: 0.6375 MB / 0.5594 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4925, allocations: 7.938 kB / 0.5594 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.4936, allocations: 441.7 kB / 0.5598 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.494, allocations: 62.47 kB / 0.5599 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.4955, allocations: 0.6363 MB / 0.5605 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000668/0.4962, allocations: 0.7903 MB / 0.5613 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.4963, allocations: 29.88 kB / 0.5613 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.4964, allocations: 32.28 kB / 0.5614 GB, free: 12.2 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4964, allocations: 0 / 0.5614 GB, free: 12.2 MB / 414.1 MB Notification: Performance of Templates: time 0.01276/0.5091, allocations: 5.2 MB / 0.5664 GB, free: 7.258 MB / 414.1 MB " [Timeout remaining time 659] 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: 5.467329012230039] Failed to read output from testmodel.py, exit status != 0: 0.5188660388812423 0.532518033 0.07623063100000001 Calling exit ...