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.001624/0.001624, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.002059/0.002059, allocations: 157.7 kB / 23.53 MB, free: 0.9023 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 1.487/1.487, allocations: 177.2 MB / 203.9 MB, free: 5.59 MB / 186.7 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.1112/0.1112, allocations: 18.14 MB / 278.5 MB, free: 11.32 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 2.364e-06/2.364e-06, allocations: 0 / 356.5 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.581e-05/3.817e-05, allocations: 2.312 kB / 356.5 MB, free: 8.172 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.03688/0.03692, allocations: 23.55 MB / 380.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009203/0.03784, allocations: 227.1 kB / 380.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.03799, allocations: 15.88 kB / 380.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.801e-05/0.03809, allocations: 35.64 kB / 380.4 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.03838, allocations: 103.1 kB / 380.5 MB, free: 424 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.03855, allocations: 39.94 kB / 380.5 MB, free: 384 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.03893, allocations: 306.3 kB / 380.8 MB, free: 76 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.03923, allocations: 134.5 kB / 380.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.03948, allocations: 131.6 kB / 381.1 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.03964, allocations: 75.73 kB / 381.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.03968, allocations: 16 kB / 381.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.823e-05/0.03972, allocations: 12 kB / 381.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.03977, allocations: 39.8 kB / 381.2 MB, free: 15.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.03989, allocations: 75.83 kB / 381.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.04023, allocations: 223.2 kB / 381.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.04023, allocations: 0 / 381.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.04023, allocations: 4 kB / 381.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.04024, allocations: 0 / 381.5 MB, free: 15.38 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.0009139/0.04115, allocations: 453.3 kB / 381.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.0412, allocations: 8.922 kB / 381.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.643e-05/0.0413, allocations: 40.75 kB / 382 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.04168, allocations: 221 kB / 382.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.0417, allocations: 12.7 kB / 382.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.04174, allocations: 12.38 kB / 382.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.04216, allocations: 192.8 kB / 382.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.04217, allocations: 192 / 382.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.04219, allocations: 8.375 kB / 382.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.0422, allocations: 4.375 kB / 382.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.04255, allocations: 127.7 kB / 382.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.04359, allocations: 0.7389 MB / 383.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.04381, allocations: 74.55 kB / 383.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.04398, allocations: 56.83 kB / 383.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.04399, allocations: 4 kB / 383.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.04405, allocations: 34.5 kB / 383.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.04405, allocations: 4 kB / 383.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006887/0.04474, allocations: 189.5 kB / 383.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.0448, allocations: 55.41 kB / 383.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.04509, allocations: 200.3 kB / 383.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.04512, allocations: 25.7 kB / 383.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.04528, allocations: 148.3 kB / 384.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.04534, allocations: 55.55 kB / 384.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.04541, allocations: 33.64 kB / 384.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004259/0.04584, allocations: 326.8 kB / 384.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.04598, allocations: 43.97 kB / 384.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.04614, allocations: 73.42 kB / 384.6 MB, free: 12.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009424/0.04708, allocations: 229.9 kB / 384.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.04708, allocations: 0 / 384.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003917/0.04747, allocations: 173.4 kB / 385 MB, free: 11.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.04749, allocations: 4 kB / 385 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.0475, allocations: 4.062 kB / 385 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.04752, allocations: 4 kB / 385 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.04774, allocations: 31.92 kB / 385 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.04775, allocations: 7.984 kB / 385 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.04786, allocations: 15.88 kB / 385 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.04788, allocations: 12 kB / 385.1 MB, free: 11.59 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.0001983/0.04808, allocations: 137.8 kB / 385.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.04814, allocations: 23.8 kB / 385.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.04819, allocations: 29.45 kB / 385.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.04819, allocations: 0 / 385.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.0482, allocations: 0 / 385.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.0482, allocations: 3.938 kB / 385.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.04847, allocations: 185.2 kB / 385.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.04847, allocations: 0 / 385.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.04869, allocations: 35.97 kB / 385.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.04869, allocations: 0 / 385.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.04871, allocations: 7.938 kB / 385.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.04871, allocations: 4 kB / 385.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.04871, allocations: 0 / 385.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005704/0.04928, allocations: 303.3 kB / 385.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.04932, allocations: 15.94 kB / 385.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.04935, allocations: 3.938 kB / 385.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.04947, allocations: 8 kB / 385.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.04954, allocations: 15.97 kB / 385.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.04954, allocations: 4.062 kB / 385.8 MB, free: 10.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001474/0.04969, allocations: 155.5 kB / 386 MB, free: 10.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04969, allocations: 0 / 386 MB, free: 10.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.04998, allocations: 47.89 kB / 386 MB, free: 10.58 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.0001409/0.05012, allocations: 99.23 kB / 386.1 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.05045, allocations: 107.9 kB / 386.2 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.05046, allocations: 0 / 386.2 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.0506, allocations: 63.78 kB / 386.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.05098, allocations: 43.98 kB / 386.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.05206, allocations: 0.4926 MB / 386.8 MB, free: 9.746 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.05221, allocations: 130.2 kB / 386.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.05232, allocations: 33.86 kB / 387 MB, free: 9.562 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.05239, allocations: 20.5 kB / 387 MB, free: 9.543 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.05239, allocations: 0 / 387 MB, free: 9.543 MB / 314.7 MB Notification: Performance of Templates: time 0.006433/0.05882, allocations: 2.394 MB / 389.4 MB, free: 7.207 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.553059630095959]