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.0006802/0.0006802, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009257/0.001606, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000671/0.000671, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008886/0.00156, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9851/0.9851, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08961/1.075, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.06723/0.06723, allocations: 18.12 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02344/0.09067, allocations: 6.786 MB / 269.1 MB, free: 6.234 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.192e-06/1.192e-06, allocations: 0 / 270.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.872e-05/1.991e-05, allocations: 6.25 kB / 270.5 MB, free: 4.762 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.00908/0.0091, allocations: 2.464 MB / 273 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005236/0.009623, allocations: 235 kB / 273.2 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.009714, allocations: 11.94 kB / 273.2 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.635e-05/0.00977, allocations: 31.66 kB / 273.3 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.00991, allocations: 107.1 kB / 273.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.345e-05/0.009983, allocations: 43.92 kB / 273.4 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.01017, allocations: 298.4 kB / 273.7 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.01035, allocations: 139.5 kB / 273.8 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.01053, allocations: 207.4 kB / 274 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.973e-05/0.01062, allocations: 67.81 kB / 274.1 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.01064, allocations: 12 kB / 274.1 MB, free: 1.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.01067, allocations: 16 kB / 274.1 MB, free: 1.133 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.0107, allocations: 31.81 kB / 274.2 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.01075, allocations: 67.88 kB / 274.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.0109, allocations: 139.4 kB / 274.4 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.01091, allocations: 0 / 274.4 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01091, allocations: 0 / 274.4 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.01092, allocations: 0 / 274.4 MB, free: 0.8984 MB / 266.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.0005245/0.01144, allocations: 479.6 kB / 274.8 MB, free: 408 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.01147, allocations: 8.031 kB / 274.8 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.01152, allocations: 32.91 kB / 274.9 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.01172, allocations: 205.2 kB / 275.1 MB, free: 136 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.01174, allocations: 20.64 kB / 275.1 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.01177, allocations: 16.38 kB / 275.1 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1216/0.1334, allocations: 158.9 kB / 275.3 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1334, allocations: 2 kB / 275.3 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.1334, allocations: 7.781 kB / 275.3 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1335, allocations: 4.562 kB / 275.3 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.1336, allocations: 59.19 kB / 275.3 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.1342, allocations: 0.6355 MB / 276 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.1343, allocations: 49.47 kB / 276 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.1344, allocations: 29.2 kB / 276 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1344, allocations: 3.594 kB / 276 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1344, allocations: 31.94 kB / 276.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 2.475e-06/0.1344, allocations: 0 / 276.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001882/0.1346, allocations: 98.64 kB / 276.2 MB, free: 2.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.1346, allocations: 56.84 kB / 276.2 MB, free: 2.465 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1347, allocations: 188.8 kB / 276.4 MB, free: 2.359 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1348, allocations: 30.55 kB / 276.4 MB, free: 2.328 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.1348, allocations: 135.5 kB / 276.6 MB, free: 2.234 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.1349, allocations: 48.02 kB / 276.6 MB, free: 2.207 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.1349, allocations: 35.45 kB / 276.7 MB, free: 2.191 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.135, allocations: 336.2 kB / 277 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/0.135, allocations: 18.12 kB / 277 MB, free: 1.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.23e-05/0.1351, allocations: 42.45 kB / 277 MB, free: 1.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.1352, allocations: 91.39 kB / 277.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1352, allocations: 1.328 kB / 277.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001414/0.1353, allocations: 99.48 kB / 277.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1353, allocations: 5.969 kB / 277.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1354, allocations: 0 / 277.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1354, allocations: 3.656 kB / 277.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.1356, allocations: 44.12 kB / 277.3 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1356, allocations: 1.188 kB / 277.3 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.1356, allocations: 15.02 kB / 277.3 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.1356, allocations: 3.234 kB / 277.3 MB, free: 1.789 MB / 266.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.0001314/0.1358, allocations: 129.5 kB / 277.4 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.1358, allocations: 18.27 kB / 277.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.1358, allocations: 23.12 kB / 277.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1358, allocations: 2.062 kB / 277.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1358, allocations: 0 / 277.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.1358, allocations: 7.703 kB / 277.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.136, allocations: 136.7 kB / 277.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.136, allocations: 5.719 kB / 277.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.1361, allocations: 34.44 kB / 277.7 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.1361, allocations: 21.58 kB / 277.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1361, allocations: 1.344 kB / 277.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1361, allocations: 4.609 kB / 277.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1361, allocations: 1.219 kB / 277.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1361, allocations: 0 / 277.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.1363, allocations: 217.1 kB / 277.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1363, allocations: 4.641 kB / 277.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.368e-05/0.1364, allocations: 7.469 kB / 277.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.1364, allocations: 13.36 kB / 277.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1364, allocations: 4.281 kB / 277.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.732e-05/0.1364, allocations: 61.27 kB / 278 MB, free: 1.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1364, allocations: 0.9688 kB / 278 MB, free: 1.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001451/0.1366, allocations: 46.77 kB / 278 MB, free: 1.426 MB / 266.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.319e-05/0.1367, allocations: 77.55 kB / 278.1 MB, free: 1.355 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.1368, allocations: 74.08 kB / 278.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.1368, allocations: 2.219 kB / 278.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.455e-05/0.1368, allocations: 51.36 kB / 278.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1371, allocations: 0.5476 MB / 278.8 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.1405, allocations: 476.5 kB / 279.2 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.1406, allocations: 76.02 kB / 279.3 MB, free: 472 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.118e-05/0.1406, allocations: 30.42 kB / 279.3 MB, free: 472 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1407, allocations: 99.52 kB / 279.4 MB, free: 428 kB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1407, allocations: 0 / 279.4 MB, free: 428 kB / 266.7 MB Notification: Performance of Templates: time 0.004456/0.1452, allocations: 2.689 MB / 282.1 MB, free: 260 kB / 266.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.708072100766003]