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.001492/0.001492, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 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.001105/0.001105, allocations: 169 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.9827/0.9827, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.06509/0.06509, allocations: 18.13 MB / 278.9 MB, free: 11.3 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 357.3 MB, free: 7.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.383e-05, allocations: 2.312 kB / 357.3 MB, free: 7.793 MB / 282.7 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.02632/0.02635, allocations: 26.47 MB / 383.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.0274, allocations: 418.4 kB / 384.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.02759, allocations: 15.88 kB / 384.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.739e-05/0.02768, allocations: 39.58 kB / 384.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.02802, allocations: 166.6 kB / 384.4 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.02826, allocations: 83.81 kB / 384.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.0286, allocations: 441.6 kB / 384.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.02891, allocations: 227.5 kB / 385.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.02916, allocations: 187.5 kB / 385.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.02934, allocations: 143.6 kB / 385.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.02938, allocations: 31.94 kB / 385.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.02949, allocations: 59.95 kB / 385.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.02954, allocations: 75.73 kB / 385.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.563e-05/0.02963, allocations: 119.7 kB / 385.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.02995, allocations: 290.9 kB / 386 MB, free: 11.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.02995, allocations: 0 / 386 MB, free: 11.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02995, allocations: 0 / 386 MB, free: 11.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.02996, allocations: 4 kB / 386 MB, free: 11.22 MB / 314.7 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.0007409/0.0307, allocations: 0.6591 MB / 386.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.03074, allocations: 12.92 kB / 386.7 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003673/0.03111, allocations: 56.7 kB / 386.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.03141, allocations: 263.5 kB / 387 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.03143, allocations: 12.88 kB / 387 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.03147, allocations: 28.33 kB / 387.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.03179, allocations: 253.3 kB / 387.3 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.0318, allocations: 192 / 387.3 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.03182, allocations: 12.38 kB / 387.3 MB, free: 9.848 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.03183, allocations: 4.375 kB / 387.3 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.03203, allocations: 130.8 kB / 387.5 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009531/0.03299, allocations: 0.8834 MB / 388.3 MB, free: 8.781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.03324, allocations: 123.2 kB / 388.5 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.03338, allocations: 79.62 kB / 388.5 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.03341, allocations: 4 kB / 388.5 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.03344, allocations: 33.39 kB / 388.6 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002017/0.03364, allocations: 59.84 kB / 388.6 MB, free: 8.461 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 2.184e-06/0.03364, allocations: 3.938 kB / 388.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008246/0.03446, allocations: 308.8 kB / 388.9 MB, free: 8.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.03449, allocations: 55.41 kB / 389 MB, free: 8.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.03469, allocations: 310.2 kB / 389.3 MB, free: 7.754 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.0347, allocations: 29.64 kB / 389.3 MB, free: 7.719 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.0348, allocations: 247 kB / 389.6 MB, free: 7.473 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.03484, allocations: 63.44 kB / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.0349, allocations: 51.34 kB / 389.7 MB, free: 7.352 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.03502, allocations: 0.504 MB / 390.2 MB, free: 6.836 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.445e-05/0.03508, allocations: 39.97 kB / 390.2 MB, free: 6.797 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.104e-05/0.03517, allocations: 67.28 kB / 390.3 MB, free: 6.723 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.03539, allocations: 176 kB / 390.5 MB, free: 6.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.03539, allocations: 0 / 390.5 MB, free: 6.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004325/0.03583, allocations: 267.7 kB / 390.7 MB, free: 6.273 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.03584, allocations: 7.938 kB / 390.7 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.03585, allocations: 0 / 390.7 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/0.03641, allocations: 123.6 kB / 390.8 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.03655, allocations: 59.89 kB / 390.9 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003527/0.0369, allocations: 0.8156 MB / 391.7 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.03697, allocations: 8 kB / 391.7 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.03699, allocations: 11.98 kB / 391.7 MB, free: 5.215 MB / 314.7 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.0001519/0.03714, allocations: 180.5 kB / 391.9 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.03718, allocations: 31.86 kB / 391.9 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/0.03767, allocations: 307.1 kB / 392.2 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.03767, allocations: 4 kB / 392.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.03768, allocations: 0 / 392.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.03768, allocations: 0 / 392.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/0.03842, allocations: 0.6483 MB / 392.9 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.03842, allocations: 0 / 392.9 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.03856, allocations: 43.98 kB / 392.9 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003586/0.03891, allocations: 115.6 kB / 393.1 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.03893, allocations: 7.938 kB / 393.1 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005582/0.03949, allocations: 0.8351 MB / 393.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.03949, allocations: 0 / 393.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.04001, allocations: 495.2 kB / 394.4 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.04005, allocations: 27.8 kB / 394.4 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.04009, allocations: 11.94 kB / 394.4 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.0402, allocations: 7.938 kB / 394.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.04026, allocations: 19.91 kB / 394.4 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.04027, allocations: 8 kB / 394.5 MB, free: 2.352 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001455/0.04042, allocations: 215 kB / 394.7 MB, free: 2.141 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04042, allocations: 0 / 394.7 MB, free: 2.141 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.04076, allocations: 75.89 kB / 394.7 MB, free: 2.066 MB / 314.7 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.0001808/0.04094, allocations: 115.2 kB / 394.9 MB, free: 1.941 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.04127, allocations: 151 kB / 395 MB, free: 1.793 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.04127, allocations: 0 / 395 MB, free: 1.793 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.0414, allocations: 112.5 kB / 395.1 MB, free: 1.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.0417, allocations: 69.25 kB / 395.2 MB, free: 1.609 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.0428, allocations: 0.6514 MB / 395.8 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.55e-05/0.04285, allocations: 92.62 kB / 395.9 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.04295, allocations: 38.97 kB / 396 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.04302, allocations: 28.48 kB / 396 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.04302, allocations: 0 / 396 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of Templates: time 0.006278/0.04929, allocations: 4.241 MB / 400.2 MB, free: 12.59 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2213152907788754]