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.001585/0.001585, allocations: 84.44 kB / 19.76 MB, free: 2.023 MB / 14.72 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.001595/0.001595, allocations: 154.9 kB / 23.01 MB, free: 4.961 MB / 14.72 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 1.526/1.526, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] 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.0981/0.0981, allocations: 17.8 MB / 277.6 MB, free: 15.35 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 63.91 kB / 414.7 MB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.132, allocations: 59.56 MB / 474.2 MB, free: 8.812 MB / 446.1 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.475/0.607, allocations: 23.05 MB / 497.3 MB, free: 41.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007457/0.6077, allocations: 220.2 kB / 497.5 MB, free: 41.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.6078, allocations: 16.91 kB / 497.5 MB, free: 41.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.334e-05/0.6079, allocations: 31.88 kB / 497.5 MB, free: 41.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.6081, allocations: 104.5 kB / 497.6 MB, free: 41.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.6083, allocations: 39.19 kB / 497.7 MB, free: 41.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.6085, allocations: 295.8 kB / 498 MB, free: 41.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.6087, allocations: 126.3 kB / 498.1 MB, free: 41.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.6089, allocations: 139.9 kB / 498.2 MB, free: 41.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.609, allocations: 83.84 kB / 498.3 MB, free: 41.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.6091, allocations: 19.41 kB / 498.3 MB, free: 41.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.768e-05/0.6091, allocations: 12.41 kB / 498.3 MB, free: 41.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.6091, allocations: 43.09 kB / 498.4 MB, free: 41.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.835e-05/0.6092, allocations: 85.64 kB / 498.5 MB, free: 41.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.6094, allocations: 234.6 kB / 498.7 MB, free: 41.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6094, allocations: 7.031 kB / 498.7 MB, free: 41.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.6094, allocations: 0 / 498.7 MB, free: 41.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.6094, allocations: 0 / 498.7 MB, free: 41.48 MB / 446.1 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.000626/0.6101, allocations: 456.7 kB / 499.1 MB, free: 41.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.6101, allocations: 14.48 kB / 499.2 MB, free: 41.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.6101, allocations: 25.89 kB / 499.2 MB, free: 41.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.6104, allocations: 212.7 kB / 499.4 MB, free: 40.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.6104, allocations: 17.67 kB / 499.4 MB, free: 40.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.6105, allocations: 16.62 kB / 499.4 MB, free: 40.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.6108, allocations: 196.6 kB / 499.6 MB, free: 40.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.6108, allocations: 192 / 499.6 MB, free: 40.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.6108, allocations: 11.09 kB / 499.6 MB, free: 40.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.6108, allocations: 3.312 kB / 499.6 MB, free: 40.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.6111, allocations: 127.6 kB / 499.7 MB, free: 40.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.6117, allocations: 0.7279 MB / 0.4887 GB, free: 40.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.6119, allocations: 77.14 kB / 0.4888 GB, free: 40.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.6121, allocations: 52.97 kB / 0.4889 GB, free: 40.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.6121, allocations: 11.23 kB / 0.4889 GB, free: 40.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.6121, allocations: 37.56 kB / 0.4889 GB, free: 40.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.6121, allocations: 0 / 0.4889 GB, free: 40.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004428/0.6125, allocations: 182.5 kB / 0.4891 GB, free: 40.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.6126, allocations: 51.41 kB / 0.4891 GB, free: 40.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.6127, allocations: 201 kB / 0.4893 GB, free: 40 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.6127, allocations: 25.7 kB / 0.4894 GB, free: 39.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.6127, allocations: 153.4 kB / 0.4895 GB, free: 39.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.6128, allocations: 55.16 kB / 0.4896 GB, free: 39.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.6128, allocations: 29.62 kB / 0.4896 GB, free: 39.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.6129, allocations: 332.3 kB / 0.4899 GB, free: 39.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.613, allocations: 37.27 kB / 0.4899 GB, free: 39.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.6131, allocations: 65.25 kB / 0.49 GB, free: 39.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.6138, allocations: 232.7 kB / 0.4902 GB, free: 39.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6138, allocations: 3.938 kB / 0.4902 GB, free: 39.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002975/0.6141, allocations: 166.8 kB / 0.4904 GB, free: 39.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6141, allocations: 6.469 kB / 0.4904 GB, free: 39.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.6141, allocations: 4 kB / 0.4904 GB, free: 39.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6142, allocations: 0 / 0.4904 GB, free: 39.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.6144, allocations: 35.78 kB / 0.4904 GB, free: 39.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.6144, allocations: 3.156 kB / 0.4904 GB, free: 39.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.805e-05/0.6145, allocations: 14.31 kB / 0.4904 GB, free: 39.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.6145, allocations: 3.281 kB / 0.4904 GB, free: 39.36 MB / 446.1 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.0001353/0.6146, allocations: 152.7 kB / 0.4906 GB, free: 39.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.6146, allocations: 14.31 kB / 0.4906 GB, free: 39.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.6147, allocations: 25.5 kB / 0.4906 GB, free: 39.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6147, allocations: 0 / 0.4906 GB, free: 39.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6147, allocations: 3.281 kB / 0.4906 GB, free: 39.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6147, allocations: 3.25 kB / 0.4906 GB, free: 39.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.6149, allocations: 185.6 kB / 0.4908 GB, free: 39.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6149, allocations: 0 / 0.4908 GB, free: 39.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.6151, allocations: 31.59 kB / 0.4908 GB, free: 39.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6151, allocations: 5.719 kB / 0.4908 GB, free: 39.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.6151, allocations: 7.812 kB / 0.4909 GB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.6151, allocations: 1.781 kB / 0.4909 GB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6151, allocations: 0 / 0.4909 GB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.6155, allocations: 288.2 kB / 0.4911 GB, free: 38.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.6155, allocations: 26.3 kB / 0.4912 GB, free: 38.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.6156, allocations: 7.266 kB / 0.4912 GB, free: 38.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.6157, allocations: 3.219 kB / 0.4912 GB, free: 38.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.6158, allocations: 18.17 kB / 0.4912 GB, free: 38.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.6158, allocations: 7.375 kB / 0.4912 GB, free: 38.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.729e-05/0.6158, allocations: 147.8 kB / 0.4913 GB, free: 38.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6158, allocations: 0 / 0.4913 GB, free: 38.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.6161, allocations: 49.7 kB / 0.4914 GB, free: 38.75 MB / 446.1 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 6.877e-05/0.6162, allocations: 98.47 kB / 0.4915 GB, free: 38.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.6165, allocations: 110 kB / 0.4916 GB, free: 38.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6165, allocations: 0 / 0.4916 GB, free: 38.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.6166, allocations: 58.81 kB / 0.4916 GB, free: 38.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.6169, allocations: 46.41 kB / 0.4917 GB, free: 38.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008451/0.6177, allocations: 0.5445 MB / 0.4922 GB, free: 38.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.056e-05/0.6178, allocations: 129.4 kB / 0.4923 GB, free: 38.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.6179, allocations: 29.05 kB / 0.4924 GB, free: 38.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.618, allocations: 25.06 kB / 0.4924 GB, free: 38.13 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.618, allocations: 0 / 0.4924 GB, free: 38.13 MB / 446.1 MB Notification: Performance of Templates: time 0.00513/0.6231, allocations: 2.394 MB / 0.4947 GB, free: 37.82 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.147950149024837] Failed to read output from testmodel.py, exit status != 0: 0.6315641069086269 0.642086626 0.030115824000000003 Calling exit ...