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.000956/0.000956, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.001024/0.001024, allocations: 173 kB / 24.17 MB, free: 336 kB / 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.9976/0.9976, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.06599/0.06599, allocations: 18.13 MB / 279.2 MB, free: 11.21 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.863e-06/1.863e-06, allocations: 0 / 304.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.184e-05, allocations: 5.875 kB / 304.6 MB, free: 0.5312 MB / 266.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.03983/0.03985, allocations: 31.92 MB / 336.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007685/0.04062, allocations: 238.9 kB / 336.7 MB, free: 2.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.04075, allocations: 23.88 kB / 336.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.933e-05/0.04081, allocations: 23.72 kB / 336.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.04101, allocations: 107 kB / 336.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.04113, allocations: 43.92 kB / 336.9 MB, free: 1.914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.04134, allocations: 302.4 kB / 337.2 MB, free: 1.617 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.04154, allocations: 131.5 kB / 337.3 MB, free: 1.488 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.04171, allocations: 127.6 kB / 337.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.04183, allocations: 71.77 kB / 337.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.04185, allocations: 16 kB / 337.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.128e-05/0.04187, allocations: 16 kB / 337.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.0419, allocations: 39.83 kB / 337.6 MB, free: 1.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.04196, allocations: 71.78 kB / 337.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.04214, allocations: 155.3 kB / 337.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.04214, allocations: 0 / 337.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.04214, allocations: 4 kB / 337.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.04215, allocations: 0 / 337.8 MB, free: 0.9922 MB / 298.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.0004394/0.04259, allocations: 434.3 kB / 338.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.04262, allocations: 8.922 kB / 338.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.04266, allocations: 36.84 kB / 338.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.04286, allocations: 209.1 kB / 338.5 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.04288, allocations: 8.703 kB / 338.5 MB, free: 264 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.0429, allocations: 16.38 kB / 338.5 MB, free: 248 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.04308, allocations: 165.4 kB / 338.7 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.04309, allocations: 4.188 kB / 338.7 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.0431, allocations: 8.375 kB / 338.7 MB, free: 48 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.04311, allocations: 4.375 kB / 338.7 MB, free: 44 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.462e-05/0.0432, allocations: 67.84 kB / 338.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.04367, allocations: 0.6208 MB / 339.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.968e-05/0.04375, allocations: 50.64 kB / 339.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.04378, allocations: 32.84 kB / 339.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.04379, allocations: 7.984 kB / 339.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.04381, allocations: 34.56 kB / 339.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.04381, allocations: 0 / 339.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001513/0.04396, allocations: 105.8 kB / 339.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.04399, allocations: 55.41 kB / 339.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.04409, allocations: 191.6 kB / 339.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.0441, allocations: 29.7 kB / 339.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.04416, allocations: 136.3 kB / 340 MB, free: 14.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.04419, allocations: 55.52 kB / 340.1 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.04422, allocations: 29.69 kB / 340.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.0443, allocations: 330.8 kB / 340.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.04433, allocations: 15.98 kB / 340.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.405e-05/0.04436, allocations: 42.55 kB / 340.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.938e-05/0.04445, allocations: 89.64 kB / 340.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.04445, allocations: 0 / 340.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001037/0.04455, allocations: 97.59 kB / 340.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.04456, allocations: 11.94 kB / 340.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.04457, allocations: 3.938 kB / 340.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.04458, allocations: 3.984 kB / 340.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.04473, allocations: 39.92 kB / 340.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.04473, allocations: 3.984 kB / 340.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.159e-05/0.04477, allocations: 11.89 kB / 340.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.04478, allocations: 8 kB / 340.8 MB, free: 13.87 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.0001031/0.04488, allocations: 125.8 kB / 340.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.04491, allocations: 15.98 kB / 340.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.04494, allocations: 29.39 kB / 340.9 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.04494, allocations: 3.938 kB / 340.9 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.04494, allocations: 0 / 340.9 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.04494, allocations: 0 / 340.9 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.04506, allocations: 125.8 kB / 341 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.04507, allocations: 0 / 341 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.04517, allocations: 43.97 kB / 341.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.04517, allocations: 0 / 341.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.04518, allocations: 0 / 341.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.04518, allocations: 0 / 341.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.04519, allocations: 3.938 kB / 341.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.04534, allocations: 223.9 kB / 341.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.04536, allocations: 11.91 kB / 341.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.04537, allocations: 0 / 341.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.526e-05/0.04543, allocations: 8 kB / 341.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.04547, allocations: 23.94 kB / 341.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.04547, allocations: 4 kB / 341.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.965e-05/0.04551, allocations: 61.09 kB / 341.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04551, allocations: 0 / 341.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.04566, allocations: 47.89 kB / 341.5 MB, free: 13.11 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 7.432e-05/0.04573, allocations: 80.42 kB / 341.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.366e-05/0.04583, allocations: 60.78 kB / 341.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.04583, allocations: 0 / 341.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.04587, allocations: 48.89 kB / 341.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.04605, allocations: 46.47 kB / 341.7 MB, free: 12.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008005/0.04685, allocations: 0.4965 MB / 342.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.028e-05/0.04689, allocations: 76.27 kB / 342.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.129e-05/0.04697, allocations: 25.94 kB / 342.3 MB, free: 12.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.04707, allocations: 103.3 kB / 342.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.04707, allocations: 0 / 342.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of Templates: time 0.003996/0.05107, allocations: 2.56 MB / 345 MB, free: 9.617 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 -s gbode -gbm=radauIIA3 -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.963078500237316]