Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.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.00162/0.00162, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.002161/0.002161, allocations: 169 kB / 23.82 MB, free: 0.7539 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.9993/0.9993, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.06603/0.06603, allocations: 18.13 MB / 278.9 MB, free: 11.32 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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 357.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.858e-05, allocations: 6.25 kB / 357.3 MB, free: 7.812 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.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/Interfaces/flowOnePort_pwh.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_001): time 0.02455/0.02458, allocations: 26.03 MB / 383.3 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.02532, allocations: 223.2 kB / 383.6 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.02547, allocations: 15.88 kB / 383.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.731e-05/0.02555, allocations: 31.66 kB / 383.6 MB, free: 13.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.02576, allocations: 111.1 kB / 383.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.02593, allocations: 47.86 kB / 383.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.02618, allocations: 294.4 kB / 384 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.02643, allocations: 137.5 kB / 384.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.02663, allocations: 135.5 kB / 384.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.02675, allocations: 67.81 kB / 384.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.02678, allocations: 16 kB / 384.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.646e-05/0.0268, allocations: 12 kB / 384.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.02684, allocations: 47.77 kB / 384.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.694e-05/0.02691, allocations: 71.84 kB / 384.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.0271, allocations: 147.4 kB / 384.7 MB, free: 12.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.02711, allocations: 0 / 384.7 MB, free: 12.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.02711, allocations: 0 / 384.7 MB, free: 12.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.02712, allocations: 4 kB / 384.7 MB, free: 12.6 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005852/0.0277, allocations: 0.5465 MB / 385.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.02774, allocations: 8.922 kB / 385.2 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.02781, allocations: 40.8 kB / 385.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.02807, allocations: 219.9 kB / 385.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.0281, allocations: 20.7 kB / 385.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.02812, allocations: 12.38 kB / 385.5 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.02839, allocations: 187.5 kB / 385.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.0284, allocations: 192 / 385.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.02841, allocations: 8.375 kB / 385.7 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.02842, allocations: 4.375 kB / 385.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.02854, allocations: 75.81 kB / 385.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.02925, allocations: 0.9637 MB / 386.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.02939, allocations: 74.59 kB / 386.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.02944, allocations: 35.67 kB / 386.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.02945, allocations: 3.938 kB / 386.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.02948, allocations: 49.31 kB / 386.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.02948, allocations: 0 / 386.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002415/0.02972, allocations: 133.8 kB / 387 MB, free: 10.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.02975, allocations: 59.34 kB / 387.1 MB, free: 9.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.02989, allocations: 250.8 kB / 387.3 MB, free: 9.719 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.0299, allocations: 29.7 kB / 387.4 MB, free: 9.684 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.02998, allocations: 199.1 kB / 387.6 MB, free: 9.484 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.03001, allocations: 47.55 kB / 387.6 MB, free: 9.438 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.03006, allocations: 39.36 kB / 387.6 MB, free: 9.391 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.03017, allocations: 0.504 MB / 388.2 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.384e-05/0.03022, allocations: 16 kB / 388.2 MB, free: 8.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.286e-05/0.03027, allocations: 62.94 kB / 388.2 MB, free: 8.785 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.0304, allocations: 112.3 kB / 388.3 MB, free: 8.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.03041, allocations: 0 / 388.3 MB, free: 8.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001492/0.03055, allocations: 133.1 kB / 388.5 MB, free: 8.527 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.03057, allocations: 7.984 kB / 388.5 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.03057, allocations: 4.062 kB / 388.5 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.03059, allocations: 4 kB / 388.5 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.03072, allocations: 27.98 kB / 388.5 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.03073, allocations: 7.938 kB / 388.5 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.03077, allocations: 15.89 kB / 388.5 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.03078, allocations: 7.984 kB / 388.5 MB, free: 8.453 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: 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.0001398/0.03092, allocations: 173.1 kB / 388.7 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.03095, allocations: 27.8 kB / 388.7 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.03099, allocations: 21.47 kB / 388.8 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.03099, allocations: 0 / 388.8 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.03099, allocations: 0 / 388.8 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.031, allocations: 7.984 kB / 388.8 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.03116, allocations: 188.5 kB / 389 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.03116, allocations: 0 / 389 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.03127, allocations: 35.92 kB / 389 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.03128, allocations: 0 / 389 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.03129, allocations: 15.88 kB / 389 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.03129, allocations: 0 / 389 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.03129, allocations: 0 / 389 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/0.03178, allocations: 295.8 kB / 389.3 MB, free: 7.645 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.0318, allocations: 11.91 kB / 389.3 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.03182, allocations: 11.94 kB / 389.3 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.527e-05/0.03188, allocations: 3.984 kB / 389.3 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.03192, allocations: 11.98 kB / 389.3 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.03193, allocations: 4 kB / 389.3 MB, free: 7.602 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.581e-05/0.03201, allocations: 183.4 kB / 389.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03201, allocations: 4 kB / 389.5 MB, free: 7.418 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000182/0.03219, allocations: 47.89 kB / 389.6 MB, free: 7.371 MB / 314.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 (14): * Single equations (assignments): 14 * 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 8.247e-05/0.03227, allocations: 103.2 kB / 389.7 MB, free: 7.262 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.03242, allocations: 87.22 kB / 389.7 MB, free: 7.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.03242, allocations: 0 / 389.7 MB, free: 7.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.739e-05/0.03247, allocations: 47.61 kB / 389.8 MB, free: 7.125 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.03271, allocations: 48.09 kB / 389.8 MB, free: 7.078 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009614/0.03368, allocations: 0.5058 MB / 390.3 MB, free: 6.539 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.297e-05/0.03372, allocations: 80.33 kB / 390.4 MB, free: 6.441 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.122e-05/0.0338, allocations: 29.92 kB / 390.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.03384, allocations: 24.5 kB / 390.5 MB, free: 6.391 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.03384, allocations: 0 / 390.5 MB, free: 6.391 MB / 314.7 MB Notification: Performance of Templates: time 0.004274/0.03812, allocations: 2.572 MB / 393.1 MB, free: 3.879 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9212816869840026]