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.001145/0.001145, allocations: 91.56 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.001491/0.001491, allocations: 169 kB / 23.82 MB, free: 0.7539 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.016/1.016, allocations: 177.1 MB / 204.2 MB, free: 5.266 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.06953/0.06953, allocations: 18.14 MB / 278.9 MB, free: 11.18 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.984e-06/1.984e-06, allocations: 0 / 357.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.146e-05, allocations: 2.312 kB / 357.3 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.003573/0.003604, allocations: 2.614 MB / 359.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006339/0.004238, allocations: 354.7 kB / 360.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.004364, allocations: 15.88 kB / 360.3 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.003e-05/0.004444, allocations: 39.58 kB / 360.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.004719, allocations: 131 kB / 360.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.004939, allocations: 71.75 kB / 360.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.005237, allocations: 385.8 kB / 360.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.005471, allocations: 146.7 kB / 361 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.005667, allocations: 159.5 kB / 361.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.005809, allocations: 91.73 kB / 361.3 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.005842, allocations: 16 kB / 361.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.005944, allocations: 47.97 kB / 361.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.005982, allocations: 47.77 kB / 361.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.466e-05/0.006077, allocations: 95.77 kB / 361.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.00635, allocations: 219.1 kB / 361.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.006353, allocations: 0 / 361.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006355, allocations: 0 / 361.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.006362, allocations: 3.984 kB / 361.7 MB, free: 3.379 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.0006649/0.007027, allocations: 0.597 MB / 362.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.007071, allocations: 8.922 kB / 362.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.205e-05/0.007153, allocations: 52.75 kB / 362.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.007448, allocations: 239.5 kB / 362.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.007469, allocations: 12.75 kB / 362.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.007502, allocations: 20.38 kB / 362.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.007779, allocations: 196.8 kB / 362.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.007789, allocations: 192 / 362.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.007811, allocations: 16.36 kB / 362.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.007822, allocations: 8.375 kB / 362.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.00798, allocations: 80.8 kB / 362.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/0.008794, allocations: 0.8766 MB / 363.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.008996, allocations: 79.22 kB / 363.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.009049, allocations: 39.61 kB / 363.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.009067, allocations: 4 kB / 363.9 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.00909, allocations: 37.39 kB / 363.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.009092, allocations: 0 / 363.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002531/0.009345, allocations: 121.5 kB / 364.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.009374, allocations: 55.41 kB / 364.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.009576, allocations: 300.1 kB / 364.4 MB, free: 460 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.009589, allocations: 25.7 kB / 364.4 MB, free: 428 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.009694, allocations: 222.9 kB / 364.7 MB, free: 200 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.009722, allocations: 43.62 kB / 364.7 MB, free: 156 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.009774, allocations: 35.38 kB / 364.7 MB, free: 112 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.009914, allocations: 0.5078 MB / 365.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.00997, allocations: 23.98 kB / 365.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.01003, allocations: 56.28 kB / 365.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.0102, allocations: 107.2 kB / 365.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.0102, allocations: 0 / 365.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002019/0.0104, allocations: 140.4 kB / 365.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.01042, allocations: 8 kB / 365.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.01042, allocations: 4.062 kB / 365.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01044, allocations: 0 / 365.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.01059, allocations: 43.91 kB / 365.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.0106, allocations: 4 kB / 365.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.01067, allocations: 11.89 kB / 365.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.01068, allocations: 11.94 kB / 365.6 MB, free: 15.16 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.0001307/0.01081, allocations: 172.5 kB / 365.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.01085, allocations: 23.86 kB / 365.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.01109, allocations: 135.4 kB / 366 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01109, allocations: 0 / 366 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01109, allocations: 0 / 366 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.0111, allocations: 8 kB / 366 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.0113, allocations: 212.4 kB / 366.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01131, allocations: 0 / 366.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.01144, allocations: 31.92 kB / 366.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01144, allocations: 0 / 366.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.01146, allocations: 4 kB / 366.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.01146, allocations: 4 kB / 366.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01146, allocations: 0 / 366.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.01196, allocations: 295.7 kB / 366.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.01199, allocations: 19.86 kB / 366.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.01202, allocations: 12.02 kB / 366.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.0121, allocations: 3.938 kB / 366.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.01214, allocations: 11.97 kB / 366.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.01215, allocations: 8 kB / 366.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.01226, allocations: 201.1 kB / 366.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01226, allocations: 0 / 366.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.01254, allocations: 59.89 kB / 366.8 MB, free: 13.91 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.0001232/0.01266, allocations: 110 kB / 366.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.01283, allocations: 87.59 kB / 367 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01283, allocations: 0 / 367 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.706e-05/0.01289, allocations: 43.61 kB / 367.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.01323, allocations: 64.75 kB / 367.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.01433, allocations: 0.5275 MB / 367.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.27e-05/0.01438, allocations: 80.31 kB / 367.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.059e-05/0.01447, allocations: 26.3 kB / 367.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.01452, allocations: 24.48 kB / 367.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01452, allocations: 3.938 kB / 367.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of Templates: time 0.005619/0.02014, allocations: 2.97 MB / 370.7 MB, free: 9.988 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9728599512018263]