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.001437/0.001437, allocations: 108.2 kB / 17.15 MB, free: 6.02 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.00139/0.00139, allocations: 204.5 kB / 20.11 MB, free: 3.066 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.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.1036/0.1036, allocations: 24.03 MB / 333.6 MB, free: 1.566 MB / 254.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_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: 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.00245/0.00245, allocations: 69.33 kB / 468.9 MB, free: 31.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1562, allocations: 59.55 MB / 0.5161 GB, free: 11.81 MB / 382.1 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.04674/0.203, allocations: 23.65 MB / 0.5392 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.2046, allocations: 418.5 kB / 0.5396 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004685/0.2051, allocations: 15.88 kB / 0.5396 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.2053, allocations: 43.56 kB / 0.5396 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007894/0.2061, allocations: 150.8 kB / 0.5398 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.2064, allocations: 79.83 kB / 0.5398 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006307/0.2071, allocations: 426 kB / 0.5402 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.2075, allocations: 219 kB / 0.5404 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.2078, allocations: 203.3 kB / 0.5406 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.2082, allocations: 179.2 kB / 0.5408 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.617e-05/0.2082, allocations: 32 kB / 0.5408 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.2084, allocations: 67.97 kB / 0.5409 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.2085, allocations: 75.67 kB / 0.541 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.2087, allocations: 183.1 kB / 0.5411 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.2094, allocations: 398.3 kB / 0.5415 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2094, allocations: 0 / 0.5415 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2094, allocations: 0 / 0.5415 GB, free: 1.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.2094, allocations: 0 / 0.5415 GB, free: 1.828 MB / 398.1 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.001328/0.2107, allocations: 0.6424 MB / 0.5422 GB, free: 1.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.2108, allocations: 8.625 kB / 0.5422 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.2109, allocations: 40.7 kB / 0.5422 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.2114, allocations: 335.4 kB / 0.5425 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.2114, allocations: 12.94 kB / 0.5425 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.2115, allocations: 24.38 kB / 0.5426 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005692/0.212, allocations: 284.8 kB / 0.5428 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2121, allocations: 192 / 0.5428 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.2121, allocations: 11.94 kB / 0.5428 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.2121, allocations: 4 kB / 0.5428 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/0.2125, allocations: 205.6 kB / 0.543 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.2143, allocations: 0.893 MB / 0.5439 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.2147, allocations: 154.7 kB / 0.5441 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.2149, allocations: 96.8 kB / 0.5442 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.215, allocations: 15.84 kB / 0.5442 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.215, allocations: 34.5 kB / 0.5442 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002867/0.2153, allocations: 51.86 kB / 0.5443 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.2153, allocations: 0 / 0.5443 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.001574/0.2169, allocations: 445.2 kB / 0.5447 GB, free: 14.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.2169, allocations: 51.41 kB / 0.5447 GB, free: 14.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.2174, allocations: 304.5 kB / 0.545 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.2176, allocations: 29.7 kB / 0.545 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.2178, allocations: 188.3 kB / 0.5452 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.2178, allocations: 67.42 kB / 0.5453 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/0.2179, allocations: 49.69 kB / 0.5453 GB, free: 13.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.2181, allocations: 342.8 kB / 0.5457 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.2183, allocations: 63.97 kB / 0.5457 GB, free: 13.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.2185, allocations: 89.61 kB / 0.5458 GB, free: 13.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004323/0.2228, allocations: 0.7048 MB / 0.5465 GB, free: 12.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2228, allocations: 0 / 0.5465 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009663/0.2238, allocations: 314 kB / 0.5468 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.2238, allocations: 4 kB / 0.5468 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2238, allocations: 0 / 0.5468 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008117/0.2246, allocations: 100.8 kB / 0.5469 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.2249, allocations: 55.89 kB / 0.5469 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006826/0.2256, allocations: 0.5757 MB / 0.5475 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.2258, allocations: 4 kB / 0.5475 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.2258, allocations: 16.08 kB / 0.5475 GB, free: 11.38 MB / 414.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: 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.000345/0.2261, allocations: 137.8 kB / 0.5477 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.2263, allocations: 31.81 kB / 0.5477 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.2274, allocations: 357.3 kB / 0.548 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.2274, allocations: 4 kB / 0.548 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.2274, allocations: 0 / 0.548 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2274, allocations: 3.984 kB / 0.548 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.229, allocations: 0.727 MB / 0.5488 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.229, allocations: 4 kB / 0.5488 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.2292, allocations: 43.92 kB / 0.5488 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005667/0.2298, allocations: 100.8 kB / 0.5489 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.2298, allocations: 4 kB / 0.5489 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005538/0.2304, allocations: 0.5991 MB / 0.5495 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.2304, allocations: 3.984 kB / 0.5495 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.2316, allocations: 0.5107 MB / 0.55 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.2317, allocations: 104.9 kB / 0.5501 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-05/0.2318, allocations: 7.938 kB / 0.5501 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.232, allocations: 16.05 kB / 0.5501 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.2321, allocations: 11.98 kB / 0.5501 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.2321, allocations: 11.94 kB / 0.5501 GB, free: 8.559 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003431/0.2325, allocations: 215.1 kB / 0.5503 GB, free: 8.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2325, allocations: 0 / 0.5503 GB, free: 8.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005017/0.233, allocations: 75.89 kB / 0.5504 GB, free: 8.273 MB / 414.1 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.000473/0.2334, allocations: 111.2 kB / 0.5505 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007923/0.2342, allocations: 190.9 kB / 0.5507 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2342, allocations: 0 / 0.5507 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.2345, allocations: 107.9 kB / 0.5508 GB, free: 7.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.2351, allocations: 65.31 kB / 0.5509 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.2369, allocations: 0.7009 MB / 0.5515 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007566/0.2376, allocations: 0.7756 MB / 0.5523 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.2378, allocations: 42.95 kB / 0.5523 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.344e-05/0.2379, allocations: 35.42 kB / 0.5524 GB, free: 6.188 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2379, allocations: 0 / 0.5524 GB, free: 6.188 MB / 414.1 MB Notification: Performance of Templates: time 0.01262/0.2505, allocations: 4.196 MB / 0.5565 GB, free: 2.02 MB / 414.1 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 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.41549838706851] Failed to read output from testmodel.py, exit status != 0: 0.2618664763867855 0.278575087 0.065447857 Calling exit ...