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.00192/0.00192, allocations: 96.36 kB / 20.46 MB, free: 1.367 MB / 14.72 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.001886/0.001886, allocations: 215.1 kB / 23.76 MB, free: 4.527 MB / 14.72 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.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.1139/0.1139, allocations: 24.03 MB / 338 MB, free: 11.34 MB / 270.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.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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 75.83 kB / 475.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3044, allocations: 59.57 MB / 0.5221 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.003338/0.3078, allocations: 2.405 MB / 0.5245 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007316/0.3085, allocations: 345.6 kB / 0.5248 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.3086, allocations: 19.75 kB / 0.5248 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.313e-05/0.3087, allocations: 38.88 kB / 0.5249 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.309, allocations: 132.3 kB / 0.525 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.3092, allocations: 68.52 kB / 0.5251 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.3096, allocations: 360.5 kB / 0.5254 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.3098, allocations: 147.4 kB / 0.5255 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.31, allocations: 161.9 kB / 0.5257 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.3102, allocations: 113.8 kB / 0.5258 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.3102, allocations: 19.81 kB / 0.5258 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.3104, allocations: 46.62 kB / 0.5259 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.3104, allocations: 52.72 kB / 0.5259 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.3105, allocations: 115.6 kB / 0.526 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.3108, allocations: 302.8 kB / 0.5263 GB, free: 7.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3108, allocations: 1.219 kB / 0.5263 GB, free: 7.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3108, allocations: 0 / 0.5263 GB, free: 7.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3108, allocations: 4 kB / 0.5263 GB, free: 7.742 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.0007356/0.3116, allocations: 0.5026 MB / 0.5268 GB, free: 7.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3116, allocations: 10.88 kB / 0.5268 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.3117, allocations: 31.38 kB / 0.5269 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.3121, allocations: 232.9 kB / 0.5271 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.3121, allocations: 16.47 kB / 0.5271 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.3121, allocations: 17.09 kB / 0.5271 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.3124, allocations: 201.8 kB / 0.5273 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3125, allocations: 4.125 kB / 0.5273 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.3125, allocations: 18.27 kB / 0.5273 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3125, allocations: 5.125 kB / 0.5273 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.3127, allocations: 119.6 kB / 0.5274 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008463/0.3136, allocations: 0.7071 MB / 0.5281 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.3138, allocations: 86.83 kB / 0.5282 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/0.3139, allocations: 42.97 kB / 0.5283 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3139, allocations: 5.594 kB / 0.5283 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.3139, allocations: 32.62 kB / 0.5283 GB, free: 6.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.3139, allocations: 1.375 kB / 0.5283 GB, free: 6.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003195/0.3142, allocations: 138.7 kB / 0.5284 GB, free: 6.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.3143, allocations: 62.12 kB / 0.5285 GB, free: 6.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.3145, allocations: 247.1 kB / 0.5287 GB, free: 5.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.3145, allocations: 29.7 kB / 0.5287 GB, free: 5.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/0.3146, allocations: 180 kB / 0.5289 GB, free: 5.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.3146, allocations: 43.64 kB / 0.529 GB, free: 5.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.3147, allocations: 36.92 kB / 0.529 GB, free: 5.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.286e-05/0.3147, allocations: 335.7 kB / 0.5293 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.3148, allocations: 37.95 kB / 0.5293 GB, free: 5.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.3149, allocations: 61.47 kB / 0.5294 GB, free: 5.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.3161, allocations: 259.3 kB / 0.5297 GB, free: 5.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3161, allocations: 3.938 kB / 0.5297 GB, free: 5.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002631/0.3163, allocations: 162.9 kB / 0.5298 GB, free: 5.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3163, allocations: 5.969 kB / 0.5298 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3163, allocations: 0 / 0.5298 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3164, allocations: 2.344 kB / 0.5298 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.3166, allocations: 43.81 kB / 0.5299 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3166, allocations: 5.094 kB / 0.5299 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.3167, allocations: 11.33 kB / 0.5299 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.3167, allocations: 8.438 kB / 0.5299 GB, free: 5.105 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.0001577/0.3169, allocations: 144 kB / 0.53 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.3169, allocations: 22.08 kB / 0.53 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.3172, allocations: 162.4 kB / 0.5302 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3172, allocations: 1.906 kB / 0.5302 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3172, allocations: 5.125 kB / 0.5302 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3172, allocations: 0 / 0.5302 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.3174, allocations: 202.7 kB / 0.5304 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3174, allocations: 0 / 0.5304 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.3176, allocations: 28.16 kB / 0.5304 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3176, allocations: 0 / 0.5304 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3176, allocations: 1.25 kB / 0.5304 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3176, allocations: 5.062 kB / 0.5304 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3176, allocations: 5.641 kB / 0.5304 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.3179, allocations: 278.9 kB / 0.5307 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.318, allocations: 23.48 kB / 0.5307 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.318, allocations: 6.625 kB / 0.5307 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3181, allocations: 1.188 kB / 0.5307 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.3182, allocations: 11.8 kB / 0.5307 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.3182, allocations: 6.094 kB / 0.5308 GB, free: 4.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.3183, allocations: 175.4 kB / 0.5309 GB, free: 4.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3183, allocations: 0 / 0.5309 GB, free: 4.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.3186, allocations: 58.48 kB / 0.531 GB, free: 4.348 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.0001271/0.3188, allocations: 113.8 kB / 0.5311 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.319, allocations: 92.38 kB / 0.5312 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.319, allocations: 0 / 0.5312 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.642e-05/0.3191, allocations: 43.19 kB / 0.5312 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.3195, allocations: 61.31 kB / 0.5313 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009835/0.3205, allocations: 0.615 MB / 0.5319 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.3206, allocations: 145.2 kB / 0.532 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.3207, allocations: 25.78 kB / 0.532 GB, free: 3.664 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3207, allocations: 0 / 0.532 GB, free: 3.664 MB / 382.1 MB Notification: Performance of Templates: time 0.006406/0.3271, allocations: 3.125 MB / 0.5351 GB, free: 3.387 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: 7.464488583151251] Failed to read output from testmodel.py, exit status != 0: 0.3354704091325402 0.35008034400000004 0.035885704000000004 Calling exit ...