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.001723/0.001723, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001861/0.001861, allocations: 162.8 kB / 23.01 MB, free: 4.598 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.509/1.509, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.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.097/0.097, allocations: 17.79 MB / 277.6 MB, free: 15.35 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.002474/0.002474, allocations: 63.89 kB / 414.7 MB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1474, allocations: 59.56 MB / 474.2 MB, free: 8.828 MB / 446.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.5096/0.6571, allocations: 23.38 MB / 497.6 MB, free: 41.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.6583, allocations: 442.5 kB / 498 MB, free: 41.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.6584, allocations: 3.156 kB / 498 MB, free: 41.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.251e-05/0.6585, allocations: 48.17 kB / 498.1 MB, free: 41.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.6587, allocations: 109.4 kB / 498.2 MB, free: 41.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.659, allocations: 117.6 kB / 498.3 MB, free: 41.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.6593, allocations: 418.1 kB / 498.7 MB, free: 41.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.6596, allocations: 211.9 kB / 498.9 MB, free: 41.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.6598, allocations: 168.5 kB / 499.1 MB, free: 41.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.66, allocations: 190.7 kB / 499.3 MB, free: 41.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.997e-05/0.66, allocations: 42.5 kB / 499.3 MB, free: 41.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.6602, allocations: 70.59 kB / 499.4 MB, free: 41.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.6602, allocations: 94.62 kB / 499.5 MB, free: 41.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.6603, allocations: 164.9 kB / 499.6 MB, free: 41.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.6607, allocations: 452.3 kB / 0.4883 GB, free: 41.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6607, allocations: 3.938 kB / 0.4884 GB, free: 41.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6607, allocations: 1.125 kB / 0.4884 GB, free: 41.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.6607, allocations: 0 / 0.4884 GB, free: 41.27 MB / 446.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.001012/0.6617, allocations: 0.6049 MB / 0.4889 GB, free: 40.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.6618, allocations: 10.7 kB / 0.489 GB, free: 40.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.6618, allocations: 40.62 kB / 0.489 GB, free: 40.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.6622, allocations: 254.4 kB / 0.4892 GB, free: 40.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.6622, allocations: 17.41 kB / 0.4893 GB, free: 40.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.6622, allocations: 26.5 kB / 0.4893 GB, free: 40.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.6628, allocations: 367.7 kB / 0.4896 GB, free: 40.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6628, allocations: 192 / 0.4896 GB, free: 40.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.6628, allocations: 18.52 kB / 0.4896 GB, free: 40.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.6628, allocations: 6.438 kB / 0.4897 GB, free: 40.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.6634, allocations: 260.7 kB / 0.4899 GB, free: 40.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.6645, allocations: 0.6581 MB / 0.4905 GB, free: 40.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.6649, allocations: 217.4 kB / 0.4908 GB, free: 40.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.6652, allocations: 135.8 kB / 0.4909 GB, free: 40.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.6653, allocations: 2.969 kB / 0.4909 GB, free: 40.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.6653, allocations: 37.94 kB / 0.4909 GB, free: 40 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002684/0.6656, allocations: 65.08 kB / 0.491 GB, free: 39.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.6656, allocations: 3.938 kB / 0.491 GB, free: 39.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.003357/0.6689, allocations: 0.7463 MB / 0.4917 GB, free: 39.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.6689, allocations: 54.53 kB / 0.4918 GB, free: 39.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.6692, allocations: 270.8 kB / 0.492 GB, free: 39.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.6692, allocations: 29.7 kB / 0.4921 GB, free: 39.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.6693, allocations: 193.4 kB / 0.4922 GB, free: 39.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.6693, allocations: 78.05 kB / 0.4923 GB, free: 39.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/0.6694, allocations: 55.11 kB / 0.4924 GB, free: 39.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.6695, allocations: 339.3 kB / 0.4927 GB, free: 38.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.6697, allocations: 95.78 kB / 0.4928 GB, free: 38.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.67, allocations: 110.6 kB / 0.4929 GB, free: 38.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.6704, allocations: 233.5 kB / 0.4931 GB, free: 38.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6704, allocations: 0 / 0.4931 GB, free: 38.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001666/0.6721, allocations: 0.4899 MB / 0.4936 GB, free: 38.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6721, allocations: 9.625 kB / 0.4936 GB, free: 38.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6721, allocations: 0 / 0.4936 GB, free: 38.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.6733, allocations: 209.2 kB / 0.4938 GB, free: 38.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.6739, allocations: 87.75 kB / 0.4939 GB, free: 38.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/0.677, allocations: 4.508 MB / 0.4983 GB, free: 34.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.6773, allocations: 13.48 kB / 0.4983 GB, free: 34.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.6773, allocations: 13.42 kB / 0.4983 GB, free: 34.34 MB / 446.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.0001661/0.6775, allocations: 145.2 kB / 0.4984 GB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.6775, allocations: 27.72 kB / 0.4985 GB, free: 34.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.6788, allocations: 0.5058 MB / 0.499 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6788, allocations: 10.06 kB / 0.499 GB, free: 33.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.6788, allocations: 0 / 0.499 GB, free: 33.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.6788, allocations: 3.516 kB / 0.499 GB, free: 33.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.6803, allocations: 0.8092 MB / 0.4998 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6803, allocations: 4 kB / 0.4998 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/0.6808, allocations: 96.2 kB / 0.4999 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006261/0.6815, allocations: 151.8 kB / 0.5 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.6815, allocations: 11.28 kB / 0.5 GB, free: 33.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.6836, allocations: 4.165 MB / 0.5041 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6836, allocations: 0 / 0.5041 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.685, allocations: 0.5585 MB / 0.5046 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.685, allocations: 39.27 kB / 0.5047 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.6851, allocations: 6.031 kB / 0.5047 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.6853, allocations: 19.17 kB / 0.5047 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.6854, allocations: 31.36 kB / 0.5047 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.6854, allocations: 11.22 kB / 0.5047 GB, free: 29.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.6856, allocations: 195.3 kB / 0.5049 GB, free: 28.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6856, allocations: 0.5 kB / 0.5049 GB, free: 28.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006781/0.6863, allocations: 103.8 kB / 0.505 GB, free: 28.96 MB / 446.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.0001548/0.6864, allocations: 112.5 kB / 0.5051 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.6884, allocations: 0.6454 MB / 0.5058 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.6884, allocations: 1.062 kB / 0.5058 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008012/0.6892, allocations: 439.8 kB / 0.5062 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.6896, allocations: 52.94 kB / 0.5062 GB, free: 28.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009791/0.6905, allocations: 0.6348 MB / 0.5068 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.6907, allocations: 183 kB / 0.507 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.703e-05/0.6908, allocations: 28.83 kB / 0.5071 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.6908, allocations: 23.81 kB / 0.5071 GB, free: 27.75 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6908, allocations: 0 / 0.5071 GB, free: 27.75 MB / 446.1 MB Notification: Performance of Templates: time 0.01046/0.7013, allocations: 5.193 MB / 0.5121 GB, free: 27.16 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.429315016022883] Failed to read output from testmodel.py, exit status != 0: 0.7200634339824319 0.721024564 0.05780061 Calling exit ...