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.0009107/0.0009107, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.000974/0.000974, allocations: 173 kB / 24.17 MB, free: 332 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.9914/0.9914, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.06458/0.06458, allocations: 18.13 MB / 279.2 MB, free: 11.2 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.473e-06/1.473e-06, allocations: 1.312 kB / 304.5 MB, free: 412 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.695e-05, allocations: 2.312 kB / 304.5 MB, free: 408 kB / 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.02738/0.0274, allocations: 31.87 MB / 336.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006964/0.0281, allocations: 235 kB / 336.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.02821, allocations: 15.88 kB / 336.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.02e-05/0.02827, allocations: 31.7 kB / 336.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.02847, allocations: 103 kB / 336.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.02859, allocations: 43.88 kB / 336.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.02879, allocations: 311.8 kB / 337.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.02898, allocations: 131.5 kB / 337.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.02915, allocations: 123.7 kB / 337.4 MB, free: 1.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.02926, allocations: 75.73 kB / 337.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.02929, allocations: 12 kB / 337.5 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.235e-05/0.02931, allocations: 16 kB / 337.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.156e-05/0.02934, allocations: 39.84 kB / 337.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.079e-05/0.02941, allocations: 79.78 kB / 337.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.02959, allocations: 159.2 kB / 337.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.02959, allocations: 0 / 337.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02959, allocations: 0 / 337.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.0296, allocations: 0 / 337.7 MB, free: 0.9531 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.0004272/0.03003, allocations: 430.4 kB / 338.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.03005, allocations: 12.92 kB / 338.2 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.03009, allocations: 28.92 kB / 338.2 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.03029, allocations: 205.1 kB / 338.4 MB, free: 244 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.0303, allocations: 16.7 kB / 338.4 MB, free: 228 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.03033, allocations: 12.38 kB / 338.4 MB, free: 216 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.03051, allocations: 173.4 kB / 338.6 MB, free: 20 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.03052, allocations: 4.172 kB / 338.6 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.03053, allocations: 8.375 kB / 338.6 MB, free: 8 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.03053, allocations: 8.375 kB / 338.6 MB, free: 0 / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.825e-05/0.03062, allocations: 59.89 kB / 338.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.03108, allocations: 0.6234 MB / 339.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.138e-05/0.03116, allocations: 46.61 kB / 339.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.03119, allocations: 28.86 kB / 339.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.0312, allocations: 4.234 kB / 339.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.03122, allocations: 38.5 kB / 339.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.03122, allocations: 0 / 339.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001599/0.03138, allocations: 105.6 kB / 339.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.03141, allocations: 51.41 kB / 339.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.03151, allocations: 195.6 kB / 339.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.03152, allocations: 29.7 kB / 339.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.03158, allocations: 136.3 kB / 339.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.0316, allocations: 51.52 kB / 340 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.03164, allocations: 33.7 kB / 340 MB, free: 14.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.03172, allocations: 334.8 kB / 340.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.03174, allocations: 12 kB / 340.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.03178, allocations: 40.84 kB / 340.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.252e-05/0.03187, allocations: 93.69 kB / 340.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.03188, allocations: 0 / 340.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001034/0.03198, allocations: 97.59 kB / 340.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.03199, allocations: 4 kB / 340.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.032, allocations: 7.875 kB / 340.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.03201, allocations: 7.938 kB / 340.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.03212, allocations: 31.98 kB / 340.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.03213, allocations: 0 / 340.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.03217, allocations: 19.88 kB / 340.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.03218, allocations: 8.062 kB / 340.7 MB, free: 13.84 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.0001231/0.0323, allocations: 121.8 kB / 340.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.03232, allocations: 15.98 kB / 340.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.03236, allocations: 29.39 kB / 340.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.03236, allocations: 4 kB / 340.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.03237, allocations: 0 / 340.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.03237, allocations: 4 kB / 340.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.0325, allocations: 129.7 kB / 341 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.0325, allocations: 0 / 341 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.863e-05/0.0326, allocations: 27.98 kB / 341 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.03261, allocations: 0 / 341 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.03262, allocations: 4 kB / 341 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.03262, allocations: 0 / 341 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.03262, allocations: 3.938 kB / 341 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.03278, allocations: 219.2 kB / 341.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.03279, allocations: 15.94 kB / 341.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.03281, allocations: 3.984 kB / 341.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.912e-05/0.03287, allocations: 11.98 kB / 341.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.03292, allocations: 15.92 kB / 341.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.03292, allocations: 3.984 kB / 341.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.679e-05/0.03298, allocations: 57.12 kB / 341.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03298, allocations: 0 / 341.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.03313, allocations: 47.89 kB / 341.4 MB, free: 13.1 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 0.000115/0.03325, allocations: 80.36 kB / 341.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.03337, allocations: 72.81 kB / 341.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.03337, allocations: 3.938 kB / 341.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.03341, allocations: 36.84 kB / 341.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.0336, allocations: 48.05 kB / 341.6 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.03445, allocations: 0.4887 MB / 342.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.087e-05/0.0345, allocations: 80.31 kB / 342.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.538e-05/0.03457, allocations: 29.88 kB / 342.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.03469, allocations: 99.34 kB / 342.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03469, allocations: 4 kB / 342.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of Templates: time 0.004212/0.0389, allocations: 2.569 MB / 344.9 MB, free: 9.59 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.8848327207379043]