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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.008 MB / 190.1 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.09676/0.09676, allocations: 22.69 MB / 327.2 MB, free: 7.207 MB / 254.1 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.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.001998/0.001998, allocations: 66.2 kB / 460.6 MB, free: 41.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.11, allocations: 58.03 MB / 0.5065 GB, free: 6.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.003059/0.113, allocations: 2.587 MB / 0.509 GB, free: 4.055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.1137, allocations: 358.6 kB / 0.5094 GB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.1139, allocations: 8 kB / 0.5094 GB, free: 3.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.93e-05/0.1139, allocations: 43.56 kB / 0.5094 GB, free: 3.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.1142, allocations: 127 kB / 0.5095 GB, free: 3.527 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.1144, allocations: 71.84 kB / 0.5096 GB, free: 3.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.1147, allocations: 366.2 kB / 0.51 GB, free: 3.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.1149, allocations: 141.6 kB / 0.5101 GB, free: 2.957 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.1151, allocations: 163.4 kB / 0.5103 GB, free: 2.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.1152, allocations: 123.4 kB / 0.5104 GB, free: 2.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.1153, allocations: 16 kB / 0.5104 GB, free: 2.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1154, allocations: 55.91 kB / 0.5104 GB, free: 2.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.1154, allocations: 51.77 kB / 0.5105 GB, free: 2.555 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.386e-05/0.1155, allocations: 139.2 kB / 0.5106 GB, free: 2.418 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.1158, allocations: 302.7 kB / 0.5109 GB, free: 2.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1158, allocations: 0 / 0.5109 GB, free: 2.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1158, allocations: 0 / 0.5109 GB, free: 2.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1158, allocations: 4 kB / 0.5109 GB, free: 2.117 MB / 366.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.0007036/0.1165, allocations: 0.5841 MB / 0.5115 GB, free: 1.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1165, allocations: 8.75 kB / 0.5115 GB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.1166, allocations: 32.75 kB / 0.5115 GB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.1169, allocations: 294.8 kB / 0.5118 GB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1169, allocations: 16.75 kB / 0.5118 GB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.117, allocations: 16.38 kB / 0.5118 GB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.1172, allocations: 212.5 kB / 0.512 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1173, allocations: 192 / 0.512 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1173, allocations: 11.94 kB / 0.512 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1173, allocations: 16 kB / 0.5121 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.1175, allocations: 124.8 kB / 0.5122 GB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008476/0.1183, allocations: 0.8225 MB / 0.513 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.1186, allocations: 90.67 kB / 0.5131 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.671e-05/0.1187, allocations: 48.83 kB / 0.5131 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1187, allocations: 0 / 0.5131 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1187, allocations: 30.56 kB / 0.5131 GB, free: 15.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.755e-06/0.1187, allocations: 3.984 kB / 0.5132 GB, free: 15.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003568/0.1191, allocations: 153.4 kB / 0.5133 GB, free: 15.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.1191, allocations: 51.41 kB / 0.5133 GB, free: 15.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.1194, allocations: 296.6 kB / 0.5136 GB, free: 15.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1195, allocations: 25.7 kB / 0.5137 GB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.1196, allocations: 171.8 kB / 0.5138 GB, free: 14.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.1196, allocations: 39.67 kB / 0.5139 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.1197, allocations: 38.08 kB / 0.5139 GB, free: 14.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1199, allocations: 338.8 kB / 0.5142 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.1199, allocations: 35.98 kB / 0.5143 GB, free: 14.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.12, allocations: 66.48 kB / 0.5143 GB, free: 14.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.1212, allocations: 249.1 kB / 0.5146 GB, free: 14.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1213, allocations: 8 kB / 0.5146 GB, free: 14.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002962/0.1215, allocations: 169.3 kB / 0.5147 GB, free: 13.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1216, allocations: 4 kB / 0.5147 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1216, allocations: 4 kB / 0.5147 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1216, allocations: 3.938 kB / 0.5147 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.1218, allocations: 39.92 kB / 0.5148 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1218, allocations: 4 kB / 0.5148 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.1219, allocations: 11.89 kB / 0.5148 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.1219, allocations: 8 kB / 0.5148 GB, free: 13.88 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.0001902/0.1221, allocations: 153.6 kB / 0.5149 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.1222, allocations: 27.81 kB / 0.515 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.1225, allocations: 151.5 kB / 0.5151 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1225, allocations: 3.938 kB / 0.5151 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1225, allocations: 0 / 0.5151 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1225, allocations: 0 / 0.5151 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.1229, allocations: 281.4 kB / 0.5154 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1229, allocations: 0 / 0.5154 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.123, allocations: 31.92 kB / 0.5154 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.123, allocations: 0 / 0.5154 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1231, allocations: 8 kB / 0.5154 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1231, allocations: 3.938 kB / 0.5154 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1231, allocations: 4 kB / 0.5154 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.1235, allocations: 282.2 kB / 0.5157 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.1236, allocations: 100.9 kB / 0.5158 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.1236, allocations: 7.953 kB / 0.5158 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.1238, allocations: 3.938 kB / 0.5158 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1238, allocations: 11.98 kB / 0.5158 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1238, allocations: 8.062 kB / 0.5158 GB, free: 12.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.124, allocations: 207.1 kB / 0.516 GB, free: 12.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.124, allocations: 0 / 0.516 GB, free: 12.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.1243, allocations: 59.88 kB / 0.5161 GB, free: 12.47 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.0001399/0.1245, allocations: 103.2 kB / 0.5162 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.1247, allocations: 95.89 kB / 0.5163 GB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1247, allocations: 0 / 0.5163 GB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.1248, allocations: 52.05 kB / 0.5163 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1252, allocations: 58.73 kB / 0.5164 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.1263, allocations: 0.591 MB / 0.517 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.1267, allocations: 0.7558 MB / 0.5177 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.1268, allocations: 38.95 kB / 0.5177 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.1269, allocations: 23.44 kB / 0.5177 GB, free: 10.7 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1269, allocations: 0 / 0.5177 GB, free: 10.7 MB / 382.1 MB Notification: Performance of Templates: time 0.006982/0.1338, allocations: 2.874 MB / 0.5206 GB, free: 7.863 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] [Calling sys.exit(0), Time elapsed: 4.8912031492218375]