Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.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.001384/0.001384, allocations: 107.4 kB / 16.45 MB, free: 6.5 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.001543/0.001543, allocations: 190.9 kB / 19.4 MB, free: 3.68 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.501/1.501, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.1021/0.1021, allocations: 22.7 MB / 325.4 MB, free: 3.543 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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 59.91 kB / 457.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1374, allocations: 58.03 MB / 0.5036 GB, free: 7.145 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003): time 0.4746/0.612, allocations: 22.98 MB / 0.526 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.6135, allocations: 416.3 kB / 0.5264 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.6137, allocations: 20.69 kB / 0.5265 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.6138, allocations: 45.73 kB / 0.5265 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.6142, allocations: 146.4 kB / 0.5266 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.6144, allocations: 86.77 kB / 0.5267 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.6148, allocations: 419 kB / 0.5271 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.6152, allocations: 215.4 kB / 0.5273 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.6154, allocations: 202.4 kB / 0.5275 GB, free: 6.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.6157, allocations: 183.1 kB / 0.5277 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.6158, allocations: 32.34 kB / 0.5277 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.6159, allocations: 58.25 kB / 0.5278 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.501e-05/0.616, allocations: 72.17 kB / 0.5278 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.6162, allocations: 184.8 kB / 0.528 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.6168, allocations: 408 kB / 0.5284 GB, free: 6.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6168, allocations: 0 / 0.5284 GB, free: 6.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6168, allocations: 1.438 kB / 0.5284 GB, free: 6.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.6168, allocations: 0 / 0.5284 GB, free: 6.18 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001048/0.6178, allocations: 0.6386 MB / 0.529 GB, free: 5.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.6179, allocations: 13.72 kB / 0.529 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.196e-05/0.618, allocations: 38.92 kB / 0.5291 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.6184, allocations: 324.8 kB / 0.5294 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.6184, allocations: 17.12 kB / 0.5294 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.6185, allocations: 27.23 kB / 0.5294 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.619, allocations: 285.4 kB / 0.5297 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.619, allocations: 1.312 kB / 0.5297 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.6191, allocations: 16.78 kB / 0.5297 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.6191, allocations: 6.344 kB / 0.5297 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.6195, allocations: 198.9 kB / 0.5299 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.621, allocations: 0.9025 MB / 0.5308 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.6214, allocations: 145.6 kB / 0.5309 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.6216, allocations: 96.56 kB / 0.531 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.6216, allocations: 7.438 kB / 0.531 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.6217, allocations: 36.19 kB / 0.5311 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003019/0.622, allocations: 55.38 kB / 0.5311 GB, free: 4.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.884e-06/0.622, allocations: 0 / 0.5311 GB, free: 4.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001526/0.6235, allocations: 441.6 kB / 0.5316 GB, free: 4.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.6235, allocations: 53.53 kB / 0.5316 GB, free: 4.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.6239, allocations: 307.6 kB / 0.5319 GB, free: 4.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.6239, allocations: 29.83 kB / 0.5319 GB, free: 4.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.624, allocations: 180.2 kB / 0.5321 GB, free: 4.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.6241, allocations: 68.42 kB / 0.5322 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/0.6242, allocations: 51.23 kB / 0.5322 GB, free: 4.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.6243, allocations: 344.7 kB / 0.5325 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.6244, allocations: 65.42 kB / 0.5326 GB, free: 3.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.6246, allocations: 85.34 kB / 0.5327 GB, free: 3.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00412/0.6287, allocations: 0.6973 MB / 0.5334 GB, free: 3.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6287, allocations: 1.219 kB / 0.5334 GB, free: 3.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008765/0.6296, allocations: 310.9 kB / 0.5337 GB, free: 3.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6296, allocations: 9.438 kB / 0.5337 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6296, allocations: 1.625 kB / 0.5337 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007844/0.6304, allocations: 102.8 kB / 0.5338 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.6306, allocations: 50.73 kB / 0.5338 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003509/0.631, allocations: 0.5785 MB / 0.5344 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.6312, allocations: 5.219 kB / 0.5344 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.6312, allocations: 8.859 kB / 0.5344 GB, free: 2.957 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: 2 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002079/0.6314, allocations: 149.6 kB / 0.5345 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.6315, allocations: 30.12 kB / 0.5346 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009406/0.6324, allocations: 363.2 kB / 0.5349 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.6324, allocations: 3.406 kB / 0.5349 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6324, allocations: 0 / 0.5349 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.6324, allocations: 1.781 kB / 0.5349 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.6338, allocations: 0.733 MB / 0.5356 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6338, allocations: 1.406 kB / 0.5356 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.634, allocations: 44.97 kB / 0.5357 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/0.6346, allocations: 95.47 kB / 0.5358 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.6346, allocations: 7.719 kB / 0.5358 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003227/0.6349, allocations: 0.5968 MB / 0.5364 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6349, allocations: 1.375 kB / 0.5364 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009711/0.6359, allocations: 0.5058 MB / 0.5369 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.636, allocations: 105.4 kB / 0.537 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.636, allocations: 5.625 kB / 0.537 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.6362, allocations: 6.281 kB / 0.537 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.6363, allocations: 19.27 kB / 0.537 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.6363, allocations: 14.56 kB / 0.537 GB, free: 1.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.6365, allocations: 212.7 kB / 0.5372 GB, free: 1.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6365, allocations: 0 / 0.5372 GB, free: 1.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.6369, allocations: 76.33 kB / 0.5373 GB, free: 0.9922 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.6371, allocations: 106.8 kB / 0.5374 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005414/0.6377, allocations: 194.7 kB / 0.5376 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6377, allocations: 0 / 0.5376 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.6379, allocations: 112.2 kB / 0.5377 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.6383, allocations: 73.16 kB / 0.5377 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.6394, allocations: 0.7001 MB / 0.5384 GB, free: 328 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.6398, allocations: 0.7739 MB / 0.5392 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.64, allocations: 45.55 kB / 0.5392 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.64, allocations: 36.86 kB / 0.5393 GB, free: 15.59 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.64, allocations: 0 / 0.5393 GB, free: 15.59 MB / 398.1 MB Notification: Performance of Templates: time 0.009808/0.6499, allocations: 4.195 MB / 0.5434 GB, free: 15.11 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.477307062596083] Failed to read output from testmodel.py, exit status != 0: 0.6592845381237566 0.677937626 0.057245499000000005 Calling exit ...