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.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.001357/0.001357, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.001337/0.001337, allocations: 165.3 kB / 23.82 MB, free: 0.7578 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 0.9864/0.9864, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.0822/0.0822, allocations: 18.14 MB / 278.9 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_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 1.864e-06/1.864e-06, allocations: 0 / 357.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.834e-05, allocations: 2.312 kB / 357.3 MB, free: 7.824 MB / 282.7 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.02625/0.02628, allocations: 26.48 MB / 383.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.02742, allocations: 410.5 kB / 384.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.02761, allocations: 23.88 kB / 384.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.807e-05/0.02769, allocations: 39.56 kB / 384.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.02804, allocations: 166.5 kB / 384.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.02823, allocations: 79.81 kB / 384.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.02856, allocations: 441.6 kB / 384.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.02886, allocations: 223.5 kB / 385.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.02907, allocations: 195.4 kB / 385.3 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.02925, allocations: 143.6 kB / 385.5 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.02929, allocations: 28 kB / 385.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.02939, allocations: 55.97 kB / 385.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.02944, allocations: 71.73 kB / 385.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.02954, allocations: 135.7 kB / 385.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.02986, allocations: 282.9 kB / 386 MB, free: 11.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.02986, allocations: 0 / 386 MB, free: 11.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.02986, allocations: 0 / 386 MB, free: 11.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.02987, allocations: 0 / 386 MB, free: 11.25 MB / 314.7 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.0007357/0.0306, allocations: 0.6591 MB / 386.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.03064, allocations: 12.92 kB / 386.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.861e-05/0.03073, allocations: 64.7 kB / 386.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.03105, allocations: 263.4 kB / 387 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.03107, allocations: 16.88 kB / 387 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.03111, allocations: 28.33 kB / 387.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.03144, allocations: 253.3 kB / 387.3 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.03145, allocations: 192 / 387.3 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.03147, allocations: 12.38 kB / 387.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.03148, allocations: 8.375 kB / 387.3 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.0317, allocations: 130.8 kB / 387.5 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.03278, allocations: 0.8756 MB / 388.3 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.03304, allocations: 131.2 kB / 388.5 MB, free: 8.664 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.03318, allocations: 79.62 kB / 388.5 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.03321, allocations: 4 kB / 388.5 MB, free: 8.578 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.03323, allocations: 41.39 kB / 388.6 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001615/0.0334, allocations: 47.86 kB / 388.6 MB, free: 8.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 2.524e-06/0.0334, allocations: 3.938 kB / 388.6 MB, free: 8.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008452/0.03424, allocations: 304.8 kB / 388.9 MB, free: 8.168 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.03428, allocations: 55.41 kB / 389 MB, free: 8.102 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.03451, allocations: 314.2 kB / 389.3 MB, free: 7.773 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.03453, allocations: 33.7 kB / 389.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.03466, allocations: 235 kB / 389.6 MB, free: 7.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.03471, allocations: 67.42 kB / 389.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.03478, allocations: 47.36 kB / 389.7 MB, free: 7.379 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.03494, allocations: 0.5079 MB / 390.2 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.03502, allocations: 39.97 kB / 390.2 MB, free: 6.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.119e-05/0.03511, allocations: 67.28 kB / 390.3 MB, free: 6.746 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.03537, allocations: 180 kB / 390.5 MB, free: 6.562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.03537, allocations: 0 / 390.5 MB, free: 6.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004774/0.03585, allocations: 259.7 kB / 390.7 MB, free: 6.301 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.03587, allocations: 18.27 kB / 390.7 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.03587, allocations: 0 / 390.7 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/0.0365, allocations: 127.6 kB / 390.9 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.03665, allocations: 43.91 kB / 390.9 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004472/0.03709, allocations: 0.8234 MB / 391.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.03717, allocations: 12.03 kB / 391.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.03719, allocations: 4 kB / 391.7 MB, free: 5.242 MB / 314.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: 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.0001784/0.03736, allocations: 180.4 kB / 391.9 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.03741, allocations: 27.86 kB / 391.9 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005469/0.03795, allocations: 311.2 kB / 392.2 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.03796, allocations: 7.984 kB / 392.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.03796, allocations: 0 / 392.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.03797, allocations: 7.984 kB / 392.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009287/0.0389, allocations: 0.6366 MB / 392.9 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.0389, allocations: 7.984 kB / 392.9 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.03906, allocations: 35.98 kB / 392.9 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/0.03949, allocations: 119.6 kB / 393.1 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.03951, allocations: 11.92 kB / 393.1 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003376/0.03985, allocations: 0.8351 MB / 393.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.03985, allocations: 0 / 393.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.04042, allocations: 495.2 kB / 394.4 MB, free: 2.445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.04046, allocations: 27.81 kB / 394.4 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.04049, allocations: 15.88 kB / 394.4 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.04057, allocations: 0 / 394.4 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.04063, allocations: 27.89 kB / 394.5 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.04064, allocations: 4 kB / 394.5 MB, free: 2.371 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.04077, allocations: 219 kB / 394.7 MB, free: 2.156 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04077, allocations: 4.031 kB / 394.7 MB, free: 2.152 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.04103, allocations: 75.89 kB / 394.8 MB, free: 2.078 MB / 314.7 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.0001772/0.0412, allocations: 107.2 kB / 394.9 MB, free: 1.961 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.04155, allocations: 151 kB / 395 MB, free: 1.812 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.04156, allocations: 0 / 395 MB, free: 1.812 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.04169, allocations: 112.7 kB / 395.1 MB, free: 1.699 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.04201, allocations: 73 kB / 395.2 MB, free: 1.625 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.04322, allocations: 0.6436 MB / 395.8 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.807e-05/0.04329, allocations: 96.61 kB / 395.9 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000104/0.0434, allocations: 42.95 kB / 396 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.04346, allocations: 32.48 kB / 396 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.04346, allocations: 0 / 396 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of Templates: time 0.00617/0.04963, allocations: 3.992 MB / 400 MB, free: 12.85 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.385061373002827]