Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 249.4 MB, free: 3.32 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.09801/0.09801, allocations: 22.69 MB / 327.2 MB, free: 7.266 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 74.39 kB / 460.6 MB, free: 40.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1246, allocations: 58.02 MB / 0.5065 GB, free: 6.711 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_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/flowOnePort_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.HeatExchanger_1vol_case_001): time 0.03604/0.1606, allocations: 22.71 MB / 0.5287 GB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009339/0.1616, allocations: 215.2 kB / 0.5289 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.1619, allocations: 11.94 kB / 0.5289 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.162, allocations: 31.7 kB / 0.5289 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.1624, allocations: 107.2 kB / 0.529 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.1626, allocations: 47.94 kB / 0.5291 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.1629, allocations: 286.6 kB / 0.5294 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.1632, allocations: 137.2 kB / 0.5295 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.1634, allocations: 135.5 kB / 0.5296 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.1636, allocations: 99.5 kB / 0.5297 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.1637, allocations: 16 kB / 0.5297 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.69e-05/0.1637, allocations: 12 kB / 0.5297 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.1637, allocations: 39.8 kB / 0.5298 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.1639, allocations: 111.5 kB / 0.5299 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.1642, allocations: 222.9 kB / 0.5301 GB, free: 14.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.1642, allocations: 3.984 kB / 0.5301 GB, free: 14.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1642, allocations: 3.938 kB / 0.5301 GB, free: 14.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1642, allocations: 0 / 0.5301 GB, free: 14.68 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009465/0.1652, allocations: 0.5248 MB / 0.5306 GB, free: 14.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1652, allocations: 16.69 kB / 0.5306 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.1653, allocations: 28.75 kB / 0.5307 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.1657, allocations: 275.6 kB / 0.5309 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1657, allocations: 12.7 kB / 0.5309 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.1658, allocations: 16.38 kB / 0.531 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.1661, allocations: 196.6 kB / 0.5311 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1662, allocations: 4.188 kB / 0.5311 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.1662, allocations: 7.938 kB / 0.5311 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1662, allocations: 4 kB / 0.5312 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.1665, allocations: 124.6 kB / 0.5313 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.1676, allocations: 0.8407 MB / 0.5321 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.1678, allocations: 74.55 kB / 0.5322 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.1679, allocations: 52.83 kB / 0.5322 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.1679, allocations: 4 kB / 0.5322 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.168, allocations: 42.5 kB / 0.5323 GB, free: 12.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.168, allocations: 0 / 0.5323 GB, free: 12.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004838/0.1684, allocations: 169.8 kB / 0.5324 GB, free: 12.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.1685, allocations: 59.41 kB / 0.5325 GB, free: 12.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1687, allocations: 225 kB / 0.5327 GB, free: 11.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1688, allocations: 25.7 kB / 0.5327 GB, free: 11.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1689, allocations: 152.2 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.1689, allocations: 55.58 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.169, allocations: 33.7 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1692, allocations: 334.8 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1693, allocations: 35.98 kB / 0.5333 GB, free: 11.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.1694, allocations: 70.42 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008067/0.1702, allocations: 225.6 kB / 0.5336 GB, free: 10.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1702, allocations: 0 / 0.5336 GB, free: 10.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000341/0.1706, allocations: 165.4 kB / 0.5337 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1706, allocations: 4 kB / 0.5337 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1706, allocations: 3.938 kB / 0.5337 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1706, allocations: 4 kB / 0.5338 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.1708, allocations: 39.91 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1708, allocations: 4.062 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.1709, allocations: 23.84 kB / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1709, allocations: 4 kB / 0.5338 GB, free: 10.59 MB / 398.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.0001802/0.1711, allocations: 141.7 kB / 0.534 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.1712, allocations: 23.8 kB / 0.534 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.1712, allocations: 29.84 kB / 0.534 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1712, allocations: 3.984 kB / 0.534 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1712, allocations: 0 / 0.534 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1712, allocations: 3.984 kB / 0.534 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.1715, allocations: 253.5 kB / 0.5343 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1715, allocations: 0 / 0.5343 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.1717, allocations: 35.97 kB / 0.5343 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1717, allocations: 0 / 0.5343 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1718, allocations: 4 kB / 0.5343 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1718, allocations: 0 / 0.5343 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1718, allocations: 4 kB / 0.5343 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.1723, allocations: 303.2 kB / 0.5346 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.1723, allocations: 96.91 kB / 0.5347 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.1724, allocations: 4 kB / 0.5347 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1725, allocations: 7.984 kB / 0.5347 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.1725, allocations: 16.05 kB / 0.5347 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.1725, allocations: 4 kB / 0.5347 GB, free: 9.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.1727, allocations: 164.5 kB / 0.5349 GB, free: 9.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1727, allocations: 0 / 0.5349 GB, free: 9.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.173, allocations: 43.95 kB / 0.5349 GB, free: 9.383 MB / 398.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 (14): * Single equations (assignments): 14 * 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.0001218/0.1731, allocations: 99.25 kB / 0.535 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.1734, allocations: 100 kB / 0.5351 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1734, allocations: 4 kB / 0.5351 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1735, allocations: 60.53 kB / 0.5352 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1739, allocations: 58.45 kB / 0.5352 GB, free: 9.059 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.175, allocations: 0.5656 MB / 0.5358 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.1754, allocations: 0.7363 MB / 0.5365 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.1755, allocations: 30.28 kB / 0.5365 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.1755, allocations: 23.44 kB / 0.5365 GB, free: 7.656 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1755, allocations: 0 / 0.5365 GB, free: 7.656 MB / 398.1 MB Notification: Performance of Templates: time 0.00644/0.182, allocations: 2.453 MB / 0.5389 GB, free: 5.227 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.003287807106972]