Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.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.00135/0.00135, allocations: 109.1 kB / 17.14 MB, free: 5.93 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.001461/0.001461, allocations: 204 kB / 20.11 MB, free: 2.977 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.522/1.522, 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.1077/0.1077, allocations: 24.03 MB / 333.6 MB, free: 1.559 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_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop") translateModel(AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop") [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.002099/0.002099, allocations: 69.39 kB / 468.9 MB, free: 31.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1178, allocations: 59.56 MB / 0.5161 GB, free: 11.81 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_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/flowTwoPorts_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_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop): time 0.04198/0.1598, allocations: 24.08 MB / 0.5396 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.1624, allocations: 0.9588 MB / 0.5405 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.1627, allocations: 15.88 kB / 0.5405 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.163, allocations: 79.22 kB / 0.5406 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.1635, allocations: 222.6 kB / 0.5408 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007172/0.1642, allocations: 207.6 kB / 0.541 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.1653, allocations: 0.8856 MB / 0.5419 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007092/0.1661, allocations: 496.4 kB / 0.5424 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006269/0.1667, allocations: 398.9 kB / 0.5427 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007145/0.1674, allocations: 482.5 kB / 0.5432 GB, free: 116 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.1675, allocations: 87.98 kB / 0.5433 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.1677, allocations: 80.05 kB / 0.5434 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.168, allocations: 287.1 kB / 0.5436 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004629/0.1685, allocations: 410.2 kB / 0.544 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.1696, allocations: 0.9651 MB / 0.545 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1696, allocations: 0 / 0.545 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1696, allocations: 0 / 0.545 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1696, allocations: 0 / 0.545 GB, free: 14.3 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002347/0.172, allocations: 1.063 MB / 0.546 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.172, allocations: 8.625 kB / 0.546 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.1722, allocations: 80.47 kB / 0.5461 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007675/0.173, allocations: 464.9 kB / 0.5465 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.1731, allocations: 71.58 kB / 0.5466 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.1732, allocations: 72.36 kB / 0.5467 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.1746, allocations: 0.7171 MB / 0.5474 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.1746, allocations: 0 / 0.5474 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.1747, allocations: 28 kB / 0.5474 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.1747, allocations: 16 kB / 0.5474 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.1759, allocations: 0.6493 MB / 0.548 GB, free: 11.04 MB / 414.1 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(stream_loss.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005032/0.181, allocations: 2.796 MB / 0.5508 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.1825, allocations: 0.5633 MB / 0.5513 GB, free: 7.484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007856/0.1833, allocations: 386 kB / 0.5517 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.1834, allocations: 12.36 kB / 0.5517 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.1834, allocations: 42.94 kB / 0.5517 GB, free: 7.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=54): time 4.749e-06/0.1834, allocations: 4 kB / 0.5517 GB, free: 7.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.005272/0.1887, allocations: 2.426 MB / 0.5541 GB, free: 4.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.1887, allocations: 67.89 kB / 0.5542 GB, free: 4.375 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/0.1893, allocations: 417.9 kB / 0.5546 GB, free: 3.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.1894, allocations: 33.7 kB / 0.5546 GB, free: 3.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.1896, allocations: 300.9 kB / 0.5549 GB, free: 3.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.1899, allocations: 218.1 kB / 0.5551 GB, free: 3.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.1901, allocations: 130.6 kB / 0.5552 GB, free: 3.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.1903, allocations: 366.7 kB / 0.5556 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.191, allocations: 344 kB / 0.5559 GB, free: 2.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007104/0.1917, allocations: 396.5 kB / 0.5563 GB, free: 2.168 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008359/0.2, allocations: 2.162 MB / 0.5584 GB, free: 15.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2, allocations: 0 / 0.5584 GB, free: 15.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002322/0.2024, allocations: 0.9891 MB / 0.5594 GB, free: 14.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.2024, allocations: 8 kB / 0.5594 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2024, allocations: 0 / 0.5594 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008189/0.2032, allocations: 168.1 kB / 0.5595 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.2046, allocations: 235.7 kB / 0.5598 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008213/0.2129, allocations: 7.594 MB / 0.5672 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/0.2137, allocations: 32 kB / 0.5672 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.2138, allocations: 23.98 kB / 0.5672 GB, free: 6.156 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: heater.Ec:VARIABLE(flow=false fixed = true ) type: Real heater.Tfo:VARIABLE(min = 0.0 start = heater.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real heater.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.stream_load.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005749/0.2144, allocations: 230.4 kB / 0.5674 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.2145, allocations: 55.61 kB / 0.5675 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.2165, allocations: 0.8565 MB / 0.5683 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.2165, allocations: 4 kB / 0.5683 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2165, allocations: 4 kB / 0.5683 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2165, allocations: 3.984 kB / 0.5683 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003991/0.2205, allocations: 1.773 MB / 0.5701 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/0.2205, allocations: 4.344 kB / 0.5701 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.2217, allocations: 191.8 kB / 0.5703 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005348/0.2222, allocations: 144.1 kB / 0.5704 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/0.2223, allocations: 20 kB / 0.5704 GB, free: 2.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006889/0.2292, allocations: 7.207 MB / 0.5775 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.2292, allocations: 4 kB / 0.5775 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/0.232, allocations: 1.307 MB / 0.5787 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.2323, allocations: 132.8 kB / 0.5789 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.2324, allocations: 19.98 kB / 0.5789 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/0.2329, allocations: 27.97 kB / 0.5789 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.233, allocations: 52.25 kB / 0.579 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.2331, allocations: 20 kB / 0.579 GB, free: 9.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004251/0.2335, allocations: 299.1 kB / 0.5793 GB, free: 8.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2335, allocations: 0 / 0.5793 GB, free: 8.887 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008878/0.2344, allocations: 204 kB / 0.5795 GB, free: 8.688 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 13 (stream_loss.T[1],stream_loss.T[2],stream_loss.T[3],stream_loss.T[4],stream_loss.T[5],stream_load.T[1],stream_load.T[2],stream_load.T[3],stream_load.T[4],stream_load.T[5],heater.Tfo,heater.Ec,heater.xpi) * 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 (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002393/0.2346, allocations: 135 kB / 0.5796 GB, free: 8.543 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002305/0.237, allocations: 1.254 MB / 0.5808 GB, free: 7.223 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.237, allocations: 4 kB / 0.5808 GB, free: 7.219 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.2382, allocations: 0.8868 MB / 0.5817 GB, free: 6.266 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008657/0.2391, allocations: 140.9 kB / 0.5818 GB, free: 6.133 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.2433, allocations: 1.983 MB / 0.5838 GB, free: 4.086 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000792/0.244, allocations: 0.942 MB / 0.5847 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004854/0.2445, allocations: 124.6 kB / 0.5848 GB, free: 2.992 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.2448, allocations: 51.42 kB / 0.5848 GB, free: 2.941 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2448, allocations: 0 / 0.5848 GB, free: 2.941 MB / 446.1 MB Notification: Performance of Templates: time 0.239/0.4838, allocations: 10.79 MB / 0.5954 GB, free: 63.37 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.sim & ./AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Temperature_flow_control.Temperature_flow_control_01_open_loop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.408868120983243] Failed to read output from testmodel.py, exit status != 0: 0.49157329089939594 0.502601521 0.330202572 Calling exit ...