Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.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.0007258/0.0007258, allocations: 75.59 kB / 20.8 MB, free: 3.715 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.0007514/0.0007514, allocations: 170 kB / 24.1 MB, free: 424 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.842/0.842, allocations: 177.1 MB / 204.4 MB, free: 5.699 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.05838/0.05838, allocations: 18.12 MB / 279 MB, free: 11.48 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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0.75 kB / 416.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.444e-05, allocations: 6.281 kB / 416.6 MB, free: 12.34 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.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/Liquid/HE_LiquidLiquid_1vol.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_003): time 0.02162/0.02165, allocations: 23.78 MB / 440.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.02282, allocations: 403.8 kB / 440.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.023, allocations: 19.88 kB / 440.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.991e-05/0.02308, allocations: 42.91 kB / 440.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.0234, allocations: 152.8 kB / 440.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.02362, allocations: 85.02 kB / 441 MB, free: 14.08 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000413/0.02403, allocations: 443.9 kB / 441.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.02439, allocations: 214.6 kB / 441.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.02466, allocations: 192.1 kB / 441.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.02483, allocations: 141.2 kB / 442 MB, free: 13.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.02487, allocations: 28 kB / 442 MB, free: 13.21 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.677e-05/0.02496, allocations: 65.36 kB / 442.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.02501, allocations: 71.77 kB / 442.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.705e-05/0.02511, allocations: 132.5 kB / 442.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.0255, allocations: 413.6 kB / 442.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.0255, allocations: 0 / 442.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.0255, allocations: 0 / 442.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.02551, allocations: 0 / 442.7 MB, free: 12.71 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006478/0.02616, allocations: 0.5555 MB / 443.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.0262, allocations: 8.922 kB / 443.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.02625, allocations: 45.45 kB / 443.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.02653, allocations: 270.6 kB / 443.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.02655, allocations: 16.88 kB / 443.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.02658, allocations: 28.31 kB / 443.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.02696, allocations: 279.4 kB / 443.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.02697, allocations: 4.172 kB / 443.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.02699, allocations: 12.38 kB / 443.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.027, allocations: 8.375 kB / 443.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.02728, allocations: 204.4 kB / 444.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009617/0.02824, allocations: 0.7586 MB / 444.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.02856, allocations: 145 kB / 445 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.0287, allocations: 93.09 kB / 445.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.02873, allocations: 8.609 kB / 445.1 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.02874, allocations: 35.12 kB / 445.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001623/0.02891, allocations: 54.62 kB / 445.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.02891, allocations: 0 / 445.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008513/0.02976, allocations: 360.6 kB / 445.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.02979, allocations: 55.41 kB / 445.6 MB, free: 9.953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.02999, allocations: 266.1 kB / 445.9 MB, free: 9.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.03001, allocations: 29.7 kB / 445.9 MB, free: 9.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.03012, allocations: 190.1 kB / 446.1 MB, free: 9.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.03016, allocations: 64.28 kB / 446.1 MB, free: 9.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.03022, allocations: 48.64 kB / 446.2 MB, free: 9.395 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.03033, allocations: 340 kB / 446.5 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.523e-05/0.03042, allocations: 67.44 kB / 446.6 MB, free: 9.004 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.938e-05/0.03052, allocations: 84.69 kB / 446.7 MB, free: 8.926 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.03247, allocations: 0.7028 MB / 447.4 MB, free: 8.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.03247, allocations: 0 / 447.4 MB, free: 8.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000469/0.03294, allocations: 316 kB / 447.7 MB, free: 8.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.03296, allocations: 6.812 kB / 447.7 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.03296, allocations: 0 / 447.7 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003897/0.03335, allocations: 107.2 kB / 447.8 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.03349, allocations: 49.56 kB / 447.8 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003045/0.0338, allocations: 0.5771 MB / 448.4 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.03387, allocations: 0.6094 kB / 448.4 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.03389, allocations: 18.41 kB / 448.4 MB, free: 7.395 MB / 346.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: 2 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.03406, allocations: 147.2 kB / 448.6 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.03409, allocations: 28.61 kB / 448.6 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005618/0.03466, allocations: 366.5 kB / 449 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.03466, allocations: 0 / 449 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.03466, allocations: 0 / 449 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.03467, allocations: 1.734 kB / 449 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000755/0.03542, allocations: 0.6255 MB / 449.6 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.03542, allocations: 0 / 449.6 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.03556, allocations: 42.42 kB / 449.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.03583, allocations: 99.92 kB / 449.7 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.03585, allocations: 9.406 kB / 449.7 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002622/0.03611, allocations: 0.589 MB / 450.3 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.03611, allocations: 4.031 kB / 450.3 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.0367, allocations: 0.5001 MB / 450.8 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.03673, allocations: 41.52 kB / 450.9 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.03676, allocations: 0.6562 kB / 450.9 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.03684, allocations: 8 kB / 450.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.03689, allocations: 21.22 kB / 450.9 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.0369, allocations: 9.328 kB / 450.9 MB, free: 5.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.03703, allocations: 194.7 kB / 451.1 MB, free: 4.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03703, allocations: 0 / 451.1 MB, free: 4.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.03728, allocations: 76.44 kB / 451.2 MB, free: 4.777 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001554/0.03743, allocations: 104.4 kB / 451.3 MB, free: 4.668 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.03779, allocations: 183.1 kB / 451.5 MB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.03779, allocations: 4 kB / 451.5 MB, free: 4.508 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.03794, allocations: 117 kB / 451.6 MB, free: 4.406 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.03825, allocations: 61.81 kB / 451.6 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000828/0.03908, allocations: 0.63 MB / 452.3 MB, free: 3.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.0392, allocations: 174.8 kB / 452.4 MB, free: 3.578 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.03933, allocations: 42.58 kB / 452.5 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.03938, allocations: 28.91 kB / 452.5 MB, free: 3.52 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.03939, allocations: 0 / 452.5 MB, free: 3.52 MB / 346.7 MB Notification: Performance of Templates: time 0.005696/0.04508, allocations: 3.965 MB / 456.5 MB, free: 0 / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.7874474432319403] Failed to read output from testmodel.py, exit status != 0: 0.04977497458457947 0.057259146000000004 0.029991823 Calling exit ...