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.001918/0.001918, allocations: 84.98 kB / 20.23 MB, free: 4.195 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.002062/0.002062, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.116/0.116, allocations: 18.14 MB / 278.5 MB, free: 11.34 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.693e-06/1.693e-06, allocations: 0 / 356.5 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.406e-05, allocations: 2.312 kB / 356.5 MB, free: 8.203 MB / 282.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.0376/0.03763, allocations: 24.16 MB / 380.7 MB, free: 216 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.03911, allocations: 422.3 kB / 381.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.03935, allocations: 15.88 kB / 381.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.03948, allocations: 51.5 kB / 381.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004794/0.03996, allocations: 150.8 kB / 381.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.04023, allocations: 87.69 kB / 381.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.04074, allocations: 441.7 kB / 381.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/0.04116, allocations: 219.5 kB / 382 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.0415, allocations: 195.4 kB / 382.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.04177, allocations: 139.6 kB / 382.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.85e-05/0.04183, allocations: 28 kB / 382.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.04198, allocations: 55.97 kB / 382.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.463e-05/0.04207, allocations: 83.66 kB / 382.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.04226, allocations: 127.7 kB / 382.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000592/0.04286, allocations: 422.6 kB / 383.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.04286, allocations: 4 kB / 383.1 MB, free: 13.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.04286, allocations: 0 / 383.1 MB, free: 13.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.04287, allocations: 0 / 383.1 MB, free: 13.81 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001275/0.04414, allocations: 0.6784 MB / 383.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.04419, allocations: 8.922 kB / 383.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.04432, allocations: 52.7 kB / 383.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.04479, allocations: 267.4 kB / 384.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.04482, allocations: 20.88 kB / 384.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.04489, allocations: 28.31 kB / 384.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005516/0.04544, allocations: 292.6 kB / 384.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.04545, allocations: 192 / 384.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.04548, allocations: 4.375 kB / 384.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.04549, allocations: 8.375 kB / 384.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.04593, allocations: 209.8 kB / 384.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.04753, allocations: 0.9653 MB / 385.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.04793, allocations: 159.2 kB / 385.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.04818, allocations: 99.62 kB / 385.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.04822, allocations: 4 kB / 385.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.04826, allocations: 41.38 kB / 385.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005567/0.04882, allocations: 59.8 kB / 385.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.04882, allocations: 4 kB / 386 MB, free: 10.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001455/0.05028, allocations: 364.8 kB / 386.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.05033, allocations: 51.41 kB / 386.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.05073, allocations: 354.3 kB / 386.7 MB, free: 9.977 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.05077, allocations: 29.7 kB / 386.7 MB, free: 9.941 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.05098, allocations: 251 kB / 387 MB, free: 9.691 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.05105, allocations: 71.42 kB / 387 MB, free: 9.621 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.05116, allocations: 59.34 kB / 387.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002979/0.05146, allocations: 0.5157 MB / 387.6 MB, free: 9.027 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.05161, allocations: 63.97 kB / 387.7 MB, free: 8.965 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.05177, allocations: 89.02 kB / 387.8 MB, free: 8.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.05226, allocations: 259.8 kB / 388 MB, free: 8.613 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.05226, allocations: 0 / 388 MB, free: 8.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008635/0.05312, allocations: 315.9 kB / 388.3 MB, free: 8.297 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.05314, allocations: 7.938 kB / 388.3 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.05315, allocations: 3.938 kB / 388.3 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.05436, allocations: 147.5 kB / 388.5 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.05462, allocations: 47.95 kB / 388.5 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007266/0.05535, allocations: 0.8507 MB / 389.4 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.05551, allocations: 8 kB / 389.4 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.05553, allocations: 4 kB / 389.4 MB, free: 7.195 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: 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.0002608/0.05579, allocations: 196.5 kB / 389.6 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.05591, allocations: 31.86 kB / 389.6 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009781/0.05689, allocations: 355 kB / 390 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.0569, allocations: 4 kB / 390 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.0569, allocations: 4 kB / 390 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.05691, allocations: 3.984 kB / 390 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.05834, allocations: 0.7267 MB / 390.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.05834, allocations: 0 / 390.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.05859, allocations: 44.03 kB / 390.8 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008253/0.05941, allocations: 127.5 kB / 390.9 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.05944, allocations: 15.92 kB / 390.9 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006751/0.06012, allocations: 0.8625 MB / 391.8 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.06012, allocations: 0 / 391.8 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.06122, allocations: 0.5656 MB / 392.3 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.06129, allocations: 23.81 kB / 392.3 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.06134, allocations: 11.94 kB / 392.4 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.06149, allocations: 4 kB / 392.4 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.06156, allocations: 27.98 kB / 392.4 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.06158, allocations: 4 kB / 392.4 MB, free: 4.059 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002618/0.06184, allocations: 243 kB / 392.6 MB, free: 3.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06184, allocations: 0 / 392.6 MB, free: 3.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003603/0.0622, allocations: 79.83 kB / 392.7 MB, free: 3.742 MB / 314.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.0001814/0.06238, allocations: 111.2 kB / 392.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005546/0.06294, allocations: 202.9 kB / 393 MB, free: 3.422 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.06294, allocations: 4.062 kB / 393 MB, free: 3.418 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005384/0.06348, allocations: 136.5 kB / 393.1 MB, free: 3.281 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.06394, allocations: 65.2 kB / 393.2 MB, free: 3.215 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.06518, allocations: 0.6515 MB / 393.9 MB, free: 2.527 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.06537, allocations: 173.1 kB / 394 MB, free: 2.336 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.06552, allocations: 38.97 kB / 394.1 MB, free: 2.297 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.921e-05/0.06562, allocations: 36.48 kB / 394.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.06562, allocations: 0 / 394.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of Templates: time 0.009687/0.07531, allocations: 3.99 MB / 398.1 MB, free: 14.36 MB / 330.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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.046602204092778]