Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.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.001223/0.001223, allocations: 112.9 kB / 17.15 MB, free: 5.949 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.00136/0.00136, allocations: 212 kB / 20.11 MB, free: 2.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.507/1.507, 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.103/0.103, allocations: 24.03 MB / 333.6 MB, free: 1.559 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.HeatExchanger_1vol_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") [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.002095/0.002095, allocations: 68.98 kB / 468.9 MB, free: 31.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1547, allocations: 59.55 MB / 0.5161 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.004453/0.1592, allocations: 2.588 MB / 0.5186 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1603, allocations: 362.7 kB / 0.5189 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.1605, allocations: 15.88 kB / 0.5189 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.1606, allocations: 39.58 kB / 0.519 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.1609, allocations: 127 kB / 0.5191 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.1612, allocations: 71.84 kB / 0.5192 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004113/0.1616, allocations: 366.2 kB / 0.5195 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/0.1619, allocations: 145.6 kB / 0.5197 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.1622, allocations: 159.4 kB / 0.5198 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.1624, allocations: 127.4 kB / 0.5199 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.1624, allocations: 20 kB / 0.5199 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1626, allocations: 47.97 kB / 0.52 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.1626, allocations: 51.78 kB / 0.52 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.1628, allocations: 139.3 kB / 0.5202 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.1632, allocations: 306.7 kB / 0.5205 GB, free: 7.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1632, allocations: 0 / 0.5205 GB, free: 7.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1632, allocations: 0 / 0.5205 GB, free: 7.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1632, allocations: 0 / 0.5205 GB, free: 7.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001045/0.1643, allocations: 0.584 MB / 0.521 GB, free: 6.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.1643, allocations: 8.625 kB / 0.521 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.629e-05/0.1644, allocations: 36.75 kB / 0.5211 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.165, allocations: 294.8 kB / 0.5214 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.165, allocations: 12.75 kB / 0.5214 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.165, allocations: 20.38 kB / 0.5214 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.1654, allocations: 205.4 kB / 0.5216 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1655, allocations: 8.125 kB / 0.5216 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.1655, allocations: 7.938 kB / 0.5216 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.1655, allocations: 4 kB / 0.5216 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.1658, allocations: 124.9 kB / 0.5217 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.1671, allocations: 0.8342 MB / 0.5225 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.1674, allocations: 90.67 kB / 0.5226 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.544e-05/0.1675, allocations: 40.84 kB / 0.5227 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.1675, allocations: 7.938 kB / 0.5227 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.1675, allocations: 34.56 kB / 0.5227 GB, free: 4.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.1675, allocations: 0 / 0.5227 GB, free: 4.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004071/0.1679, allocations: 149.4 kB / 0.5229 GB, free: 4.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.168, allocations: 51.41 kB / 0.5229 GB, free: 4.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.1683, allocations: 288.6 kB / 0.5232 GB, free: 4.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.1683, allocations: 25.7 kB / 0.5232 GB, free: 4.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1685, allocations: 187.7 kB / 0.5234 GB, free: 4.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.1685, allocations: 35.69 kB / 0.5234 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.1686, allocations: 33.7 kB / 0.5234 GB, free: 3.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1688, allocations: 334.8 kB / 0.5238 GB, free: 3.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.1689, allocations: 35.98 kB / 0.5238 GB, free: 3.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.169, allocations: 65.08 kB / 0.5239 GB, free: 3.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.1703, allocations: 254.6 kB / 0.5241 GB, free: 3.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1703, allocations: 0 / 0.5241 GB, free: 3.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003023/0.1706, allocations: 171 kB / 0.5243 GB, free: 3.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1706, allocations: 4 kB / 0.5243 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1706, allocations: 0 / 0.5243 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.1706, allocations: 7.938 kB / 0.5243 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.1708, allocations: 43.97 kB / 0.5243 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1708, allocations: 0 / 0.5243 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.171, allocations: 23.84 kB / 0.5243 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.171, allocations: 4 kB / 0.5243 GB, free: 3.012 MB / 382.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: 3 * 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): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000214/0.1712, allocations: 141.8 kB / 0.5245 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.1712, allocations: 23.86 kB / 0.5245 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.1716, allocations: 161.8 kB / 0.5247 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.1717, allocations: 7.875 kB / 0.5247 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1717, allocations: 384 / 0.5247 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1717, allocations: 0 / 0.5247 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.1721, allocations: 285.5 kB / 0.5249 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1721, allocations: 0 / 0.5249 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.1723, allocations: 31.92 kB / 0.525 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1723, allocations: 4 kB / 0.525 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1723, allocations: 0 / 0.525 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1723, allocations: 3.938 kB / 0.525 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1723, allocations: 3.938 kB / 0.525 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.1728, allocations: 275.3 kB / 0.5252 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1729, allocations: 112.9 kB / 0.5254 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.1729, allocations: 4 kB / 0.5254 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.173, allocations: 7.938 kB / 0.5254 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.1731, allocations: 7.984 kB / 0.5254 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.1731, allocations: 4 kB / 0.5254 GB, free: 1.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.1733, allocations: 211.1 kB / 0.5256 GB, free: 1.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1733, allocations: 0 / 0.5256 GB, free: 1.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000325/0.1736, allocations: 59.89 kB / 0.5256 GB, free: 1.598 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002034/0.1739, allocations: 103.2 kB / 0.5257 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.1741, allocations: 91.91 kB / 0.5258 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1741, allocations: 4 kB / 0.5258 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.1742, allocations: 39.97 kB / 0.5259 GB, free: 1.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1746, allocations: 58.78 kB / 0.5259 GB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.176, allocations: 0.5977 MB / 0.5265 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.1765, allocations: 0.7519 MB / 0.5272 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.1766, allocations: 34.97 kB / 0.5273 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.1767, allocations: 31.42 kB / 0.5273 GB, free: 15.83 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1767, allocations: 0 / 0.5273 GB, free: 15.83 MB / 398.1 MB Notification: Performance of Templates: time 0.007974/0.1846, allocations: 2.839 MB / 0.5301 GB, free: 13.03 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.174079040065408] Failed to read output from testmodel.py, exit status != 0: 0.19434174709022045 0.208121622 0.041928664000000004 Calling exit ...