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.001846/0.001846, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002248/0.002248, allocations: 212.8 kB / 23.01 MB, free: 4.992 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.692/1.692, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1112/0.1112, allocations: 24.04 MB / 337.2 MB, free: 11.32 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.003692/0.003692, allocations: 63.89 kB / 474.3 MB, free: 5.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4811, allocations: 59.56 MB / 0.5214 GB, free: 10.4 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.07267/0.5538, allocations: 23.41 MB / 0.5442 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.5553, allocations: 442.9 kB / 0.5447 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.5554, allocations: 4 kB / 0.5447 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.5555, allocations: 44.69 kB / 0.5447 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.5558, allocations: 109.9 kB / 0.5448 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.5561, allocations: 108.9 kB / 0.5449 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.5564, allocations: 422.8 kB / 0.5453 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.5567, allocations: 212.6 kB / 0.5455 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.5569, allocations: 170.5 kB / 0.5457 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.5572, allocations: 192.6 kB / 0.5459 GB, free: 484 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.5572, allocations: 36 kB / 0.5459 GB, free: 448 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.5574, allocations: 80.28 kB / 0.546 GB, free: 376 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.984e-05/0.5575, allocations: 84.19 kB / 0.5461 GB, free: 308 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.5576, allocations: 164.5 kB / 0.5462 GB, free: 160 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007347/0.5583, allocations: 457.2 kB / 0.5467 GB, free: 15.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5583, allocations: 4.641 kB / 0.5467 GB, free: 15.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.5583, allocations: 0 / 0.5467 GB, free: 15.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.5584, allocations: 0 / 0.5467 GB, free: 15.85 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.00146/0.5598, allocations: 0.6012 MB / 0.5473 GB, free: 15.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.5599, allocations: 8.922 kB / 0.5473 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.56, allocations: 45.22 kB / 0.5473 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.5605, allocations: 249.2 kB / 0.5475 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.5605, allocations: 17.03 kB / 0.5476 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.5605, allocations: 28.38 kB / 0.5476 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.5613, allocations: 371 kB / 0.5479 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.5613, allocations: 192 / 0.5479 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.5614, allocations: 11.94 kB / 0.5479 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.5614, allocations: 8 kB / 0.548 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006818/0.5621, allocations: 261.4 kB / 0.5482 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.5637, allocations: 0.6567 MB / 0.5488 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.5643, allocations: 224.1 kB / 0.5491 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.5647, allocations: 137.8 kB / 0.5492 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.5647, allocations: 7.938 kB / 0.5492 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.5647, allocations: 34.56 kB / 0.5492 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000281/0.565, allocations: 57.27 kB / 0.5493 GB, free: 13.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 3.547e-06/0.565, allocations: 4 kB / 0.5493 GB, free: 13.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.003815/0.5688, allocations: 0.7452 MB / 0.55 GB, free: 12.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.5689, allocations: 59.34 kB / 0.5501 GB, free: 12.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.5694, allocations: 269.9 kB / 0.5503 GB, free: 12.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.5694, allocations: 29.7 kB / 0.5504 GB, free: 12.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.5696, allocations: 189.9 kB / 0.5505 GB, free: 12.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.216e-05/0.5697, allocations: 82.02 kB / 0.5506 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.5698, allocations: 50.48 kB / 0.5507 GB, free: 12.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.57, allocations: 339.7 kB / 0.551 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.5703, allocations: 106.8 kB / 0.5511 GB, free: 11.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.5706, allocations: 100.2 kB / 0.5512 GB, free: 11.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.5712, allocations: 237.1 kB / 0.5514 GB, free: 11.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5712, allocations: 0 / 0.5514 GB, free: 11.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001876/0.5731, allocations: 0.4913 MB / 0.5519 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.5731, allocations: 4.703 kB / 0.5519 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5731, allocations: 0 / 0.5519 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.5744, allocations: 209.4 kB / 0.5521 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.575, allocations: 89.83 kB / 0.5522 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/0.5808, allocations: 4.5 MB / 0.5566 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.5811, allocations: 17.61 kB / 0.5566 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.5811, allocations: 26.58 kB / 0.5566 GB, free: 6.152 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.0002537/0.5814, allocations: 138.5 kB / 0.5568 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.5815, allocations: 27.81 kB / 0.5568 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.5832, allocations: 0.5127 MB / 0.5573 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.5832, allocations: 7.938 kB / 0.5573 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5832, allocations: 4 kB / 0.5573 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.5832, allocations: 2.484 kB / 0.5573 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.5851, allocations: 0.8138 MB / 0.5581 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5851, allocations: 0 / 0.5581 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/0.5857, allocations: 83.22 kB / 0.5582 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007108/0.5864, allocations: 157.2 kB / 0.5583 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.5864, allocations: 8.656 kB / 0.5583 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004527/0.591, allocations: 4.171 MB / 0.5624 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.591, allocations: 0 / 0.5624 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.5926, allocations: 0.5596 MB / 0.5629 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.5927, allocations: 33.27 kB / 0.563 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.5927, allocations: 8.703 kB / 0.563 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.5929, allocations: 20.73 kB / 0.563 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.593, allocations: 34.69 kB / 0.563 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.593, allocations: 8.797 kB / 0.5631 GB, free: 15.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.5933, allocations: 199 kB / 0.5632 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5933, allocations: 0 / 0.5632 GB, free: 15.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006286/0.5939, allocations: 99.83 kB / 0.5633 GB, free: 15.4 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.0001921/0.5941, allocations: 112.7 kB / 0.5634 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002198/0.5963, allocations: 0.6447 MB / 0.5641 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5963, allocations: 0 / 0.5641 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009864/0.5973, allocations: 445.5 kB / 0.5645 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.5978, allocations: 53.38 kB / 0.5645 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.5992, allocations: 0.6295 MB / 0.5652 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.5994, allocations: 180.6 kB / 0.5653 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.5995, allocations: 28.91 kB / 0.5654 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.118e-05/0.5996, allocations: 28.75 kB / 0.5654 GB, free: 13.42 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5996, allocations: 3.938 kB / 0.5654 GB, free: 13.41 MB / 414.1 MB Notification: Performance of Templates: time 0.01255/0.6122, allocations: 5.597 MB / 0.5709 GB, free: 7.91 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.82496776804328] Failed to read output from testmodel.py, exit status != 0: 0.6254277601838112 0.6397875430000001 0.077788304 Calling exit ...