Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.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.001761/0.001761, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002065/0.002065, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.09965/0.09965, allocations: 17.8 MB / 277.6 MB, free: 15.38 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.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") [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.002323/0.002323, allocations: 67.89 kB / 414.6 MB, free: 4.539 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1257, allocations: 59.56 MB / 474.2 MB, free: 8.859 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.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/Liquid/HE_LiquidLiquid_1vol.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.HeatExchanger_1vol_case_003): time 0.5104/0.6362, allocations: 23.43 MB / 497.6 MB, free: 41.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.6372, allocations: 411.4 kB / 498 MB, free: 41.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.6374, allocations: 17.66 kB / 498.1 MB, free: 41.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.131e-05/0.6375, allocations: 43.38 kB / 498.1 MB, free: 41.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.6378, allocations: 145.2 kB / 498.2 MB, free: 41.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.638, allocations: 92.91 kB / 498.3 MB, free: 41.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.6383, allocations: 425.4 kB / 498.7 MB, free: 41.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.6385, allocations: 202.2 kB / 498.9 MB, free: 41.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.6388, allocations: 207.6 kB / 499.1 MB, free: 41.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.639, allocations: 160 kB / 499.3 MB, free: 41.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.639, allocations: 28.88 kB / 499.3 MB, free: 41.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.6391, allocations: 61.88 kB / 499.4 MB, free: 41.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.6392, allocations: 70.36 kB / 499.5 MB, free: 41.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.6393, allocations: 154 kB / 499.6 MB, free: 41.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.6396, allocations: 413.3 kB / 0.4883 GB, free: 41.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6396, allocations: 0 / 0.4883 GB, free: 41.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.6396, allocations: 0 / 0.4883 GB, free: 41.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.6397, allocations: 7.25 kB / 0.4883 GB, free: 41.15 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008408/0.6405, allocations: 0.5551 MB / 0.4888 GB, free: 40.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.6405, allocations: 10.58 kB / 0.4888 GB, free: 40.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.6406, allocations: 40.23 kB / 0.4889 GB, free: 40.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.6409, allocations: 267 kB / 0.4891 GB, free: 40.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.6409, allocations: 21.28 kB / 0.4892 GB, free: 40.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.641, allocations: 25.39 kB / 0.4892 GB, free: 40.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.6413, allocations: 279.5 kB / 0.4895 GB, free: 40.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.6413, allocations: 192 / 0.4895 GB, free: 40.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.6414, allocations: 18.84 kB / 0.4895 GB, free: 40.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.6414, allocations: 6.656 kB / 0.4895 GB, free: 40.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.6417, allocations: 201.5 kB / 0.4897 GB, free: 40.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.6428, allocations: 0.7641 MB / 0.4904 GB, free: 40.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.6431, allocations: 143.7 kB / 0.4906 GB, free: 40.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.6433, allocations: 92.8 kB / 0.4906 GB, free: 40 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.6433, allocations: 10.28 kB / 0.4907 GB, free: 40 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.6434, allocations: 30.56 kB / 0.4907 GB, free: 39.96 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002766/0.6436, allocations: 52.75 kB / 0.4907 GB, free: 39.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.6436, allocations: 3.938 kB / 0.4907 GB, free: 39.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001281/0.6449, allocations: 368 kB / 0.4911 GB, free: 39.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.6449, allocations: 51.41 kB / 0.4911 GB, free: 39.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.6452, allocations: 271.8 kB / 0.4914 GB, free: 39.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.6452, allocations: 25.7 kB / 0.4914 GB, free: 39.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.6453, allocations: 188.8 kB / 0.4916 GB, free: 39.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.6453, allocations: 74.45 kB / 0.4917 GB, free: 39.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.6454, allocations: 47.88 kB / 0.4917 GB, free: 39.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.6454, allocations: 339.2 kB / 0.492 GB, free: 38.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.6456, allocations: 67.25 kB / 0.4921 GB, free: 38.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.6457, allocations: 87.48 kB / 0.4922 GB, free: 38.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/0.6496, allocations: 0.6906 MB / 0.4929 GB, free: 38.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6496, allocations: 4 kB / 0.4929 GB, free: 38.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007067/0.6503, allocations: 300.1 kB / 0.4932 GB, free: 38.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.6503, allocations: 6.438 kB / 0.4932 GB, free: 38.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6503, allocations: 0 / 0.4932 GB, free: 38.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007398/0.6511, allocations: 106.2 kB / 0.4933 GB, free: 38.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.6513, allocations: 53.91 kB / 0.4933 GB, free: 38.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002913/0.6516, allocations: 0.5729 MB / 0.4939 GB, free: 38.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.6517, allocations: 7.469 kB / 0.4939 GB, free: 38.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.6518, allocations: 6.594 kB / 0.4939 GB, free: 38.03 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.6519, allocations: 145.8 kB / 0.494 GB, free: 37.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.652, allocations: 28.25 kB / 0.494 GB, free: 37.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007783/0.6528, allocations: 354.2 kB / 0.4944 GB, free: 37.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6528, allocations: 3.188 kB / 0.4944 GB, free: 37.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6528, allocations: 3.938 kB / 0.4944 GB, free: 37.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.6528, allocations: 7.516 kB / 0.4944 GB, free: 37.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.6538, allocations: 0.6349 MB / 0.495 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.6538, allocations: 11.19 kB / 0.495 GB, free: 37.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.654, allocations: 46.53 kB / 0.4951 GB, free: 37.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/0.6546, allocations: 96.98 kB / 0.4952 GB, free: 37.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.6546, allocations: 10.12 kB / 0.4952 GB, free: 37.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002448/0.6548, allocations: 0.5854 MB / 0.4957 GB, free: 36.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6548, allocations: 0 / 0.4957 GB, free: 36.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.6556, allocations: 0.5078 MB / 0.4962 GB, free: 36.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.6556, allocations: 32.03 kB / 0.4963 GB, free: 36.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.6557, allocations: 3.156 kB / 0.4963 GB, free: 36.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.6558, allocations: 7.156 kB / 0.4963 GB, free: 36.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.6559, allocations: 20.48 kB / 0.4963 GB, free: 36.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.6559, allocations: 5.812 kB / 0.4963 GB, free: 36.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.656, allocations: 190.8 kB / 0.4965 GB, free: 36.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.656, allocations: 0 / 0.4965 GB, free: 36.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003261/0.6564, allocations: 78.3 kB / 0.4966 GB, free: 36.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.6565, allocations: 117.4 kB / 0.4967 GB, free: 36.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004167/0.6569, allocations: 191.3 kB / 0.4969 GB, free: 36.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6569, allocations: 3.094 kB / 0.4969 GB, free: 36.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.6571, allocations: 109.4 kB / 0.497 GB, free: 36.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.6575, allocations: 62.89 kB / 0.497 GB, free: 36.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/0.6584, allocations: 0.7004 MB / 0.4977 GB, free: 35.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.6585, allocations: 175.7 kB / 0.4979 GB, free: 35.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.6587, allocations: 43.77 kB / 0.4979 GB, free: 35.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.6587, allocations: 27.22 kB / 0.4979 GB, free: 35.45 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.6587, allocations: 0 / 0.4979 GB, free: 35.45 MB / 446.1 MB Notification: Performance of Templates: time 0.008134/0.6669, allocations: 3.99 MB / 0.5018 GB, free: 34.97 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.262865465017967] Failed to read output from testmodel.py, exit status != 0: 0.6754684030311182 0.686581284 0.04437294 Calling exit ...