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.001443/0.001443, allocations: 84.23 kB / 20.23 MB, free: 4.176 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.00158/0.00158, allocations: 157.3 kB / 23.53 MB, free: 0.8711 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 1.485/1.485, allocations: 177.2 MB / 203.9 MB, free: 5.602 MB / 186.7 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.1076/0.1076, allocations: 18.14 MB / 278.5 MB, free: 11.32 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_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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 356.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.872e-05/4.064e-05, allocations: 6.312 kB / 356.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.004585/0.004626, allocations: 2.413 MB / 358.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.005718, allocations: 354.6 kB / 359.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.005964, allocations: 15.88 kB / 359.3 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.006093, allocations: 35.64 kB / 359.3 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.006509, allocations: 134.9 kB / 359.5 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.006819, allocations: 75.77 kB / 359.5 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005754/0.007394, allocations: 373.9 kB / 359.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.00775, allocations: 146.7 kB / 360.1 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.008102, allocations: 155.5 kB / 360.2 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.008331, allocations: 91.72 kB / 360.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.509e-05/0.008386, allocations: 20 kB / 360.3 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.008544, allocations: 47.91 kB / 360.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.008612, allocations: 55.75 kB / 360.4 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.00877, allocations: 95.77 kB / 360.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.009265, allocations: 306.9 kB / 360.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.009269, allocations: 4 kB / 360.8 MB, free: 3.879 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.00927, allocations: 0 / 360.8 MB, free: 3.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.009281, allocations: 0 / 360.8 MB, free: 3.879 MB / 282.7 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.001147/0.01043, allocations: 0.4971 MB / 361.3 MB, free: 3.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.01047, allocations: 12.86 kB / 361.3 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.0106, allocations: 48.75 kB / 361.4 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.01109, allocations: 232.7 kB / 361.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.01112, allocations: 16.75 kB / 361.6 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.01117, allocations: 24.36 kB / 361.6 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.01159, allocations: 204.9 kB / 361.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.0116, allocations: 192 / 361.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.01163, allocations: 16.31 kB / 361.9 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.01164, allocations: 4.375 kB / 361.9 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.01194, allocations: 128.8 kB / 362 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.01314, allocations: 0.6974 MB / 362.7 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.01342, allocations: 94.72 kB / 362.8 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.362e-05/0.01351, allocations: 44.84 kB / 362.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.01354, allocations: 7.938 kB / 362.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.01357, allocations: 34.55 kB / 362.9 MB, free: 1.688 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.01357, allocations: 0 / 362.9 MB, free: 1.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003982/0.01397, allocations: 145.5 kB / 363 MB, free: 1.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.01402, allocations: 51.41 kB / 363 MB, free: 1.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.01435, allocations: 257.8 kB / 363.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.01437, allocations: 25.7 kB / 363.3 MB, free: 1.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.01453, allocations: 180.1 kB / 363.5 MB, free: 1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.01457, allocations: 43.69 kB / 363.5 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.01464, allocations: 29.72 kB / 363.6 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.01484, allocations: 334.8 kB / 363.9 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.01493, allocations: 39.98 kB / 363.9 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.01504, allocations: 62.55 kB / 364 MB, free: 488 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.01634, allocations: 254 kB / 364.2 MB, free: 228 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01634, allocations: 0 / 364.2 MB, free: 228 kB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004296/0.01677, allocations: 177.4 kB / 364.4 MB, free: 44 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.01679, allocations: 4 kB / 364.4 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.0168, allocations: 4 kB / 364.4 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.01682, allocations: 0 / 364.4 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.01704, allocations: 35.92 kB / 364.5 MB, free: 0 / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.857e-05/0.01707, allocations: 4.047 kB / 364.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.0172, allocations: 11.89 kB / 364.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.01722, allocations: 15.88 kB / 364.5 MB, free: 15.97 MB / 298.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: 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.0002129/0.01743, allocations: 137.8 kB / 364.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.01748, allocations: 23.86 kB / 364.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/0.01784, allocations: 159.3 kB / 364.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.01785, allocations: 4 kB / 364.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.01785, allocations: 0 / 364.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01786, allocations: 0 / 364.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.01819, allocations: 205.1 kB / 365 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01819, allocations: 0 / 365 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.01839, allocations: 27.98 kB / 365 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01839, allocations: 0 / 365 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.01841, allocations: 11.94 kB / 365.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.01842, allocations: 4 kB / 365.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01842, allocations: 0 / 365.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.01892, allocations: 283.2 kB / 365.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.01897, allocations: 27.88 kB / 365.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.019, allocations: 0 / 365.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.01913, allocations: 4 kB / 365.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.01917, allocations: 7.984 kB / 365.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.01918, allocations: 4 kB / 365.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000203/0.01939, allocations: 177.2 kB / 365.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01939, allocations: 0 / 365.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000343/0.01973, allocations: 67.81 kB / 365.6 MB, free: 14.79 MB / 298.7 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.0001738/0.0199, allocations: 107.2 kB / 365.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.02016, allocations: 99.72 kB / 365.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.02016, allocations: 0 / 365.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/0.02025, allocations: 43.98 kB / 365.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.02068, allocations: 56.58 kB / 365.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.02182, allocations: 0.5218 MB / 366.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.02198, allocations: 142.9 kB / 366.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.02211, allocations: 34.27 kB / 366.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.02217, allocations: 24.5 kB / 366.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02217, allocations: 0 / 366.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of Templates: time 0.007606/0.02977, allocations: 2.775 MB / 369.4 MB, free: 11.01 MB / 298.7 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: 4.569430342991836]