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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 106.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09936/0.09936, allocations: 22.69 MB / 327.7 MB, free: 2.875 MB / 254.1 MB [Timeout remaining time 90] 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_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 0.001929/0.001929, allocations: 71.89 kB / 461 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1037, allocations: 58.02 MB / 0.5069 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.003755/0.1075, allocations: 2.583 MB / 0.5094 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007696/0.1083, allocations: 358.7 kB / 0.5097 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1084, allocations: 15.94 kB / 0.5098 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.123e-05/0.1085, allocations: 31.64 kB / 0.5098 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.1088, allocations: 127 kB / 0.5099 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.109, allocations: 75.78 kB / 0.51 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.1094, allocations: 354.2 kB / 0.5103 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.1097, allocations: 157.5 kB / 0.5105 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.1099, allocations: 155.4 kB / 0.5106 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1101, allocations: 127.4 kB / 0.5107 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.1101, allocations: 20 kB / 0.5108 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1102, allocations: 47.97 kB / 0.5108 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.1103, allocations: 47.78 kB / 0.5109 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.1104, allocations: 147.3 kB / 0.511 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.1108, allocations: 314.5 kB / 0.5113 GB, free: 1.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1108, allocations: 4 kB / 0.5113 GB, free: 1.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1108, allocations: 0 / 0.5113 GB, free: 1.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1108, allocations: 0 / 0.5113 GB, free: 1.102 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.000878/0.1117, allocations: 0.5724 MB / 0.5119 GB, free: 484 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1117, allocations: 12.03 kB / 0.5119 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.1118, allocations: 32.75 kB / 0.5119 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.1122, allocations: 294.8 kB / 0.5122 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.1122, allocations: 16.75 kB / 0.5122 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.1123, allocations: 16.38 kB / 0.5122 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2031/0.3154, allocations: 204.3 kB / 0.5124 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.3154, allocations: 3 kB / 0.5124 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.3154, allocations: 7.938 kB / 0.5124 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.3154, allocations: 6.094 kB / 0.5124 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.3157, allocations: 123.5 kB / 0.5125 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009987/0.3167, allocations: 0.8264 MB / 0.5133 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.3169, allocations: 90.78 kB / 0.5134 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.075e-05/0.317, allocations: 39.98 kB / 0.5135 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.317, allocations: 15.75 kB / 0.5135 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.317, allocations: 31.22 kB / 0.5135 GB, free: 15.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.854e-06/0.317, allocations: 0.9688 kB / 0.5135 GB, free: 15.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003407/0.3174, allocations: 148.3 kB / 0.5137 GB, free: 15.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.3174, allocations: 53.31 kB / 0.5137 GB, free: 14.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.3177, allocations: 291.6 kB / 0.514 GB, free: 14.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.3177, allocations: 26.8 kB / 0.514 GB, free: 14.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.3178, allocations: 173.8 kB / 0.5142 GB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.3178, allocations: 43.33 kB / 0.5142 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.3179, allocations: 35.69 kB / 0.5143 GB, free: 14.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.3179, allocations: 340.2 kB / 0.5146 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.318, allocations: 34.23 kB / 0.5146 GB, free: 14.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.3181, allocations: 60.95 kB / 0.5147 GB, free: 14.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.3192, allocations: 245.9 kB / 0.5149 GB, free: 14.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3192, allocations: 1.438 kB / 0.5149 GB, free: 14.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000275/0.3195, allocations: 173 kB / 0.5151 GB, free: 14.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3195, allocations: 9.219 kB / 0.5151 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3195, allocations: 4.406 kB / 0.5151 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3196, allocations: 4.031 kB / 0.5151 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.3198, allocations: 33.98 kB / 0.5151 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3198, allocations: 1.531 kB / 0.5151 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.3199, allocations: 19.58 kB / 0.5151 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3199, allocations: 4.094 kB / 0.5151 GB, free: 14.28 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.0001498/0.3201, allocations: 149.6 kB / 0.5153 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.3201, allocations: 31.41 kB / 0.5153 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.3204, allocations: 150.9 kB / 0.5155 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3204, allocations: 3.969 kB / 0.5155 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3204, allocations: 2.625 kB / 0.5155 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3204, allocations: 2.25 kB / 0.5155 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.3206, allocations: 275.9 kB / 0.5157 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3206, allocations: 3.938 kB / 0.5157 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.3208, allocations: 28.61 kB / 0.5158 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3208, allocations: 4 kB / 0.5158 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3208, allocations: 7.188 kB / 0.5158 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3208, allocations: 3.359 kB / 0.5158 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3208, allocations: 0 / 0.5158 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.3212, allocations: 283.9 kB / 0.516 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.3212, allocations: 105.1 kB / 0.5161 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.3212, allocations: 2.25 kB / 0.5161 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3214, allocations: 9.641 kB / 0.5162 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.3214, allocations: 8 kB / 0.5162 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3214, allocations: 6.188 kB / 0.5162 GB, free: 13.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.3216, allocations: 206.9 kB / 0.5164 GB, free: 13.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3216, allocations: 5.25 kB / 0.5164 GB, free: 13.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.3219, allocations: 57.23 kB / 0.5164 GB, free: 13.55 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.0001158/0.322, allocations: 109.9 kB / 0.5165 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.3222, allocations: 89.52 kB / 0.5166 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3222, allocations: 0 / 0.5166 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.3223, allocations: 49.95 kB / 0.5167 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3226, allocations: 62.84 kB / 0.5167 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009729/0.3236, allocations: 0.6132 MB / 0.5173 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.3238, allocations: 0.7545 MB / 0.5181 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.3238, allocations: 23.19 kB / 0.5181 GB, free: 12.39 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3238, allocations: 0 / 0.5181 GB, free: 12.39 MB / 382.1 MB Notification: Performance of Templates: time 0.00582/0.3296, allocations: 3.141 MB / 0.5212 GB, free: 12.17 MB / 382.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]