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.002364/0.002364, allocations: 84.98 kB / 20.23 MB, free: 4.195 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.002241/0.002241, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.624/1.624, allocations: 177.1 MB / 203.9 MB, free: 5.574 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.1152/0.1152, allocations: 18.15 MB / 278.5 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_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 2.395e-06/2.395e-06, allocations: 0 / 356.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.648e-05/3.887e-05, allocations: 2.312 kB / 356.5 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.006041/0.00608, allocations: 2.569 MB / 359.1 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.00725, allocations: 354.7 kB / 359.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.007441, allocations: 15.88 kB / 359.5 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.007572, allocations: 39.58 kB / 359.5 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.008039, allocations: 127 kB / 359.6 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.008383, allocations: 79.77 kB / 359.7 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006289/0.009012, allocations: 377.9 kB / 360.1 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004023/0.009414, allocations: 150.7 kB / 360.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.009813, allocations: 151.5 kB / 360.4 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.01007, allocations: 91.72 kB / 360.5 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.573e-05/0.01014, allocations: 24 kB / 360.5 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.01031, allocations: 43.97 kB / 360.5 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.01039, allocations: 51.77 kB / 360.6 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.0106, allocations: 95.77 kB / 360.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.01122, allocations: 310.9 kB / 361 MB, free: 3.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01123, allocations: 0 / 361 MB, free: 3.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01123, allocations: 0 / 361 MB, free: 3.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.01124, allocations: 0 / 361 MB, free: 3.719 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.001373/0.01261, allocations: 0.62 MB / 361.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.01265, allocations: 12.92 kB / 361.6 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.0128, allocations: 48.75 kB / 361.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.01336, allocations: 231.5 kB / 361.9 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.01339, allocations: 16.75 kB / 361.9 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/0.01345, allocations: 16.38 kB / 361.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.01403, allocations: 228.1 kB / 362.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.01404, allocations: 192 / 362.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.01408, allocations: 12.38 kB / 362.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.01409, allocations: 8.312 kB / 362.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004249/0.01452, allocations: 124.8 kB / 362.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.01629, allocations: 0.9428 MB / 363.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.01666, allocations: 95.17 kB / 363.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.0168, allocations: 51.67 kB / 363.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.01683, allocations: 0 / 363.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.01688, allocations: 41.38 kB / 363.4 MB, free: 1.117 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.01688, allocations: 0 / 363.4 MB, free: 1.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005497/0.01743, allocations: 141.5 kB / 363.5 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.01749, allocations: 51.41 kB / 363.6 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000543/0.01804, allocations: 340.2 kB / 363.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.01807, allocations: 25.7 kB / 363.9 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.01834, allocations: 234.9 kB / 364.2 MB, free: 300 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/0.0184, allocations: 39.67 kB / 364.2 MB, free: 260 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.01853, allocations: 47.3 kB / 364.3 MB, free: 204 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004241/0.01895, allocations: 0.5196 MB / 364.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.01908, allocations: 35.98 kB / 364.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.01926, allocations: 66.28 kB / 364.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.0197, allocations: 151.2 kB / 365 MB, free: 15.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.0197, allocations: 0 / 365 MB, free: 15.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004888/0.02019, allocations: 165.4 kB / 365.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.02021, allocations: 4 kB / 365.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.02022, allocations: 4 kB / 365.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.02024, allocations: 4.062 kB / 365.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.02057, allocations: 35.92 kB / 365.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.02058, allocations: 4 kB / 365.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.02076, allocations: 11.95 kB / 365.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.02078, allocations: 15.86 kB / 365.3 MB, free: 15.15 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.0003277/0.02111, allocations: 188.4 kB / 365.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.02119, allocations: 27.91 kB / 365.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.02166, allocations: 147.4 kB / 365.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.02167, allocations: 4 kB / 365.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.02168, allocations: 0 / 365.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.02168, allocations: 0 / 365.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.0222, allocations: 244.5 kB / 365.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.0222, allocations: 0 / 365.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.02249, allocations: 35.92 kB / 365.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.02249, allocations: 0 / 365.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.02252, allocations: 3.984 kB / 365.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02252, allocations: 0 / 365.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.02252, allocations: 0 / 365.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.0232, allocations: 339.6 kB / 366.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.02326, allocations: 15.86 kB / 366.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.02331, allocations: 0 / 366.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.02349, allocations: 16.03 kB / 366.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.02356, allocations: 7.984 kB / 366.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.02357, allocations: 0 / 366.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003525/0.02392, allocations: 237.1 kB / 366.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.02392, allocations: 0 / 366.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005281/0.02445, allocations: 55.89 kB / 366.6 MB, free: 13.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.0002243/0.02467, allocations: 106.9 kB / 366.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.02507, allocations: 118.8 kB / 366.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.02507, allocations: 0 / 366.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.02523, allocations: 59.73 kB / 366.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.02586, allocations: 52.77 kB / 366.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.02742, allocations: 0.5313 MB / 367.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.02764, allocations: 146.9 kB / 367.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.02784, allocations: 22.3 kB / 367.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.02793, allocations: 24.5 kB / 367.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02793, allocations: 3.938 kB / 367.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of Templates: time 0.01099/0.03891, allocations: 2.769 MB / 370.4 MB, free: 9.961 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: 4.794613683014177]