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.0009307/0.0009307, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.0009703/0.0009703, allocations: 165 kB / 23.82 MB, free: 0.7578 MB / 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.9507/0.9507, allocations: 177.1 MB / 204.2 MB, free: 5.215 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.1079/0.1079, allocations: 18.13 MB / 278.9 MB, free: 11.14 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.483e-06/1.483e-06, allocations: 0 / 357.3 MB, free: 7.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.465e-05, allocations: 5.266 kB / 357.3 MB, free: 7.785 MB / 282.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.03344/0.03348, allocations: 26.04 MB / 383.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008724/0.03435, allocations: 219.2 kB / 383.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.03452, allocations: 15.88 kB / 383.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.678e-05/0.0346, allocations: 35.64 kB / 383.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.03485, allocations: 107.1 kB / 383.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.03501, allocations: 43.88 kB / 383.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.03531, allocations: 306.4 kB / 384.1 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.03557, allocations: 129.5 kB / 384.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.03579, allocations: 135.6 kB / 384.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.03593, allocations: 75.73 kB / 384.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.03596, allocations: 12 kB / 384.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.187e-05/0.03599, allocations: 16 kB / 384.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.03603, allocations: 35.84 kB / 384.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.748e-05/0.03612, allocations: 75.78 kB / 384.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.03635, allocations: 151.4 kB / 384.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.03636, allocations: 4 kB / 384.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.03636, allocations: 0 / 384.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.03636, allocations: 4 kB / 384.7 MB, free: 12.56 MB / 314.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.0006546/0.03702, allocations: 0.5465 MB / 385.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.03706, allocations: 8.922 kB / 385.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.03713, allocations: 36.8 kB / 385.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.03743, allocations: 215.9 kB / 385.5 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.03746, allocations: 12.7 kB / 385.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.0375, allocations: 16.38 kB / 385.5 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.0378, allocations: 191.5 kB / 385.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.03781, allocations: 4.188 kB / 385.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.03783, allocations: 4.375 kB / 385.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.03784, allocations: 4.375 kB / 385.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.038, allocations: 75.81 kB / 385.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008716/0.03887, allocations: 0.9598 MB / 386.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.03901, allocations: 66.97 kB / 386.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.883e-05/0.03908, allocations: 39.67 kB / 386.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.03909, allocations: 4.25 kB / 386.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.03912, allocations: 37.33 kB / 386.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.03912, allocations: 4 kB / 386.9 MB, free: 10.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.000301/0.03942, allocations: 137 kB / 387 MB, free: 10.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.03946, allocations: 63.33 kB / 387.1 MB, free: 9.961 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.03964, allocations: 250.8 kB / 387.3 MB, free: 9.699 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.03965, allocations: 29.7 kB / 387.4 MB, free: 9.664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.03975, allocations: 191.1 kB / 387.5 MB, free: 9.473 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.03979, allocations: 55.53 kB / 387.6 MB, free: 9.418 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.03985, allocations: 35.36 kB / 387.6 MB, free: 9.375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003966/0.04025, allocations: 0.504 MB / 388.1 MB, free: 8.859 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.998e-05/0.04031, allocations: 27.98 kB / 388.2 MB, free: 8.832 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.36e-05/0.04038, allocations: 54.95 kB / 388.2 MB, free: 8.766 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.04055, allocations: 112.6 kB / 388.3 MB, free: 8.641 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.04055, allocations: 0 / 388.3 MB, free: 8.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001982/0.04075, allocations: 129.5 kB / 388.5 MB, free: 8.508 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.04077, allocations: 12.06 kB / 388.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.04077, allocations: 0 / 388.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.04079, allocations: 0 / 388.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.04096, allocations: 35.98 kB / 388.5 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.04097, allocations: 7.922 kB / 388.5 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.04104, allocations: 15.88 kB / 388.5 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.04105, allocations: 8 kB / 388.5 MB, free: 8.43 MB / 314.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.0001442/0.04119, allocations: 173.1 kB / 388.7 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.04124, allocations: 23.8 kB / 388.7 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/0.04128, allocations: 29.45 kB / 388.8 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.04129, allocations: 0 / 388.8 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.04129, allocations: 0 / 388.8 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.04129, allocations: 0 / 388.8 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.0415, allocations: 196.5 kB / 388.9 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.0415, allocations: 0 / 388.9 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.04165, allocations: 31.92 kB / 389 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.04166, allocations: 0 / 389 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.04167, allocations: 15.92 kB / 389 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.04168, allocations: 4 kB / 389 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.04168, allocations: 0 / 389 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.04198, allocations: 295.1 kB / 389.3 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.042, allocations: 11.91 kB / 389.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.04203, allocations: 7.938 kB / 389.3 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.04211, allocations: 4 kB / 389.3 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.04217, allocations: 15.97 kB / 389.3 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.04218, allocations: 4 kB / 389.3 MB, free: 7.578 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.04228, allocations: 183.4 kB / 389.5 MB, free: 7.398 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04228, allocations: 3.938 kB / 389.5 MB, free: 7.395 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.04255, allocations: 51.89 kB / 389.6 MB, free: 7.344 MB / 314.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 0.0001001/0.04265, allocations: 95.25 kB / 389.7 MB, free: 7.242 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.04283, allocations: 87.58 kB / 389.7 MB, free: 7.152 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.04284, allocations: 0 / 389.7 MB, free: 7.152 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.835e-05/0.0429, allocations: 55.48 kB / 389.8 MB, free: 7.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.04326, allocations: 50.44 kB / 389.8 MB, free: 7.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.04469, allocations: 0.5058 MB / 390.4 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.719e-05/0.04476, allocations: 80.33 kB / 390.4 MB, free: 6.414 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.04488, allocations: 25.94 kB / 390.5 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.04494, allocations: 28.5 kB / 390.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.04494, allocations: 0 / 390.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of Templates: time 0.005659/0.0506, allocations: 2.386 MB / 392.9 MB, free: 4.027 MB / 314.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: 3.017828591167927]