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.001437/0.001437, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.001515/0.001515, allocations: 203.2 kB / 20.11 MB, free: 3.066 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.106/0.106, allocations: 24.02 MB / 333.6 MB, free: 1.578 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.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.002137/0.002137, allocations: 75.03 kB / 468.9 MB, free: 31.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1432, allocations: 59.54 MB / 0.5161 GB, free: 11.81 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.04294/0.1861, allocations: 23.59 MB / 0.5391 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1877, allocations: 442.7 kB / 0.5395 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1878, allocations: 8 kB / 0.5395 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.1879, allocations: 47.5 kB / 0.5396 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.1882, allocations: 111 kB / 0.5397 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.1886, allocations: 115.7 kB / 0.5398 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.189, allocations: 406.2 kB / 0.5402 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003855/0.1894, allocations: 227.3 kB / 0.5404 GB, free: 3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.1896, allocations: 175.3 kB / 0.5406 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.1899, allocations: 219.1 kB / 0.5408 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.19, allocations: 36 kB / 0.5408 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.1901, allocations: 75.95 kB / 0.5409 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.535e-05/0.1902, allocations: 87.67 kB / 0.541 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.1904, allocations: 191 kB / 0.5411 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005107/0.1909, allocations: 450.2 kB / 0.5416 GB, free: 1.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1909, allocations: 0 / 0.5416 GB, free: 1.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1909, allocations: 0 / 0.5416 GB, free: 1.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.1909, allocations: 0 / 0.5416 GB, free: 1.789 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.001304/0.1922, allocations: 0.6854 MB / 0.5422 GB, free: 1.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.325e-05/0.1923, allocations: 8.625 kB / 0.5422 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.902e-05/0.1924, allocations: 44.66 kB / 0.5423 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.1929, allocations: 320 kB / 0.5426 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.1929, allocations: 20.94 kB / 0.5426 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.193, allocations: 24.38 kB / 0.5426 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.1936, allocations: 289.3 kB / 0.5429 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1936, allocations: 192 / 0.5429 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.1936, allocations: 19.88 kB / 0.5429 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1936, allocations: 4 kB / 0.5429 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.1943, allocations: 270.1 kB / 0.5432 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.1959, allocations: 0.8111 MB / 0.544 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/0.1964, allocations: 214.7 kB / 0.5442 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/0.1968, allocations: 128.8 kB / 0.5443 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.1969, allocations: 8 kB / 0.5443 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.1969, allocations: 42.48 kB / 0.5444 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002902/0.1972, allocations: 51.88 kB / 0.5444 GB, free: 14.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.675e-06/0.1972, allocations: 3.938 kB / 0.5444 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.004018/0.2012, allocations: 0.9794 MB / 0.5454 GB, free: 13.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.2013, allocations: 51.41 kB / 0.5454 GB, free: 13.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.2016, allocations: 287.4 kB / 0.5457 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.2017, allocations: 29.7 kB / 0.5457 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.2018, allocations: 188.6 kB / 0.5459 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.967e-05/0.2019, allocations: 83.31 kB / 0.546 GB, free: 13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.202, allocations: 49.92 kB / 0.546 GB, free: 12.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2022, allocations: 338.8 kB / 0.5463 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.2025, allocations: 108.3 kB / 0.5464 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.2028, allocations: 104.9 kB / 0.5465 GB, free: 12.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005885/0.2034, allocations: 234.5 kB / 0.5468 GB, free: 12.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2034, allocations: 7.938 kB / 0.5468 GB, free: 12.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001882/0.2052, allocations: 0.496 MB / 0.5473 GB, free: 11.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.2053, allocations: 4 kB / 0.5473 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2053, allocations: 0 / 0.5473 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.2065, allocations: 206.3 kB / 0.5475 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.2071, allocations: 95.91 kB / 0.5476 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005227/0.2123, allocations: 4.774 MB / 0.5522 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.2126, allocations: 16.02 kB / 0.5522 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.2126, allocations: 8 kB / 0.5522 GB, free: 6.203 MB / 414.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.0002313/0.2129, allocations: 153.8 kB / 0.5524 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.2129, allocations: 27.81 kB / 0.5524 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.2144, allocations: 0.5056 MB / 0.5529 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2144, allocations: 3.938 kB / 0.5529 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2144, allocations: 7.984 kB / 0.5529 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.2144, allocations: 0 / 0.5529 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.2163, allocations: 0.9349 MB / 0.5538 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2163, allocations: 0 / 0.5538 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.2168, allocations: 87.92 kB / 0.5539 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006801/0.2175, allocations: 154.4 kB / 0.5541 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.2175, allocations: 12 kB / 0.5541 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003665/0.2212, allocations: 4.424 MB / 0.5584 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2212, allocations: 0 / 0.5584 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.2226, allocations: 0.5607 MB / 0.5589 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.2227, allocations: 108.9 kB / 0.559 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.2228, allocations: 8 kB / 0.5591 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.223, allocations: 15.98 kB / 0.5591 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2231, allocations: 27.95 kB / 0.5591 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.2231, allocations: 12 kB / 0.5591 GB, free: 14.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002492/0.2234, allocations: 209.9 kB / 0.5593 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2234, allocations: 0 / 0.5593 GB, free: 14.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006052/0.224, allocations: 107.8 kB / 0.5594 GB, free: 14.38 MB / 430.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.0001916/0.2242, allocations: 107.2 kB / 0.5595 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.2263, allocations: 0.6492 MB / 0.5601 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2263, allocations: 0 / 0.5601 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009005/0.2272, allocations: 441.4 kB / 0.5606 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.2276, allocations: 52.7 kB / 0.5606 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2289, allocations: 0.6337 MB / 0.5612 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.2294, allocations: 0.7844 MB / 0.562 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.2295, allocations: 35.05 kB / 0.562 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/0.2296, allocations: 31.44 kB / 0.5621 GB, free: 11.55 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2296, allocations: 0 / 0.5621 GB, free: 11.55 MB / 430.1 MB Notification: Performance of Templates: time 0.01181/0.2414, allocations: 5.202 MB / 0.5671 GB, free: 6.363 MB / 430.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: 5.295771796256304] Failed to read output from testmodel.py, exit status != 0: 0.2506667673587799 0.264476704 0.070725165 Calling exit ...