Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.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.001593/0.001593, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001474/0.001474, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.1074/0.1074, allocations: 24.12 MB / 337.3 MB, free: 11.48 MB / 270.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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") [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.002125/0.002125, allocations: 63.91 kB / 474.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.401, allocations: 59.6 MB / 0.5216 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.003489/0.4045, allocations: 2.609 MB / 0.5242 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000825/0.4053, allocations: 364.9 kB / 0.5245 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.4054, allocations: 19.66 kB / 0.5246 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.4056, allocations: 39.2 kB / 0.5246 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.4059, allocations: 123.4 kB / 0.5247 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.4062, allocations: 72.97 kB / 0.5248 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.4066, allocations: 360.9 kB / 0.5251 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.4069, allocations: 152.8 kB / 0.5253 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.4071, allocations: 164 kB / 0.5254 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.4073, allocations: 124 kB / 0.5255 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.4074, allocations: 19.41 kB / 0.5256 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.4075, allocations: 48.09 kB / 0.5256 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.4075, allocations: 50.12 kB / 0.5257 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.4077, allocations: 144.6 kB / 0.5258 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.4081, allocations: 303.9 kB / 0.5261 GB, free: 7.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4081, allocations: 0 / 0.5261 GB, free: 7.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4081, allocations: 0 / 0.5261 GB, free: 7.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.4081, allocations: 0 / 0.5261 GB, free: 7.523 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007712/0.4088, allocations: 0.5037 MB / 0.5266 GB, free: 7.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4089, allocations: 9.641 kB / 0.5266 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.4089, allocations: 32.25 kB / 0.5266 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.4093, allocations: 227.8 kB / 0.5268 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.4094, allocations: 12 kB / 0.5268 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.4094, allocations: 17.22 kB / 0.5269 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.4098, allocations: 209 kB / 0.5271 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4098, allocations: 4.125 kB / 0.5271 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.4098, allocations: 10.28 kB / 0.5271 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4098, allocations: 8.406 kB / 0.5271 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.41, allocations: 129.5 kB / 0.5272 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009682/0.411, allocations: 0.7976 MB / 0.528 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.4113, allocations: 83.14 kB / 0.5281 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.406e-05/0.4114, allocations: 47.86 kB / 0.5281 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.4114, allocations: 6.031 kB / 0.5281 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.4114, allocations: 31.12 kB / 0.5281 GB, free: 5.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.4114, allocations: 1.156 kB / 0.5281 GB, free: 5.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003588/0.4118, allocations: 153.2 kB / 0.5283 GB, free: 5.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.4118, allocations: 52.98 kB / 0.5283 GB, free: 5.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.4121, allocations: 286.8 kB / 0.5286 GB, free: 5.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4121, allocations: 31.48 kB / 0.5286 GB, free: 5.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.4122, allocations: 176.4 kB / 0.5288 GB, free: 5.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.4123, allocations: 43.72 kB / 0.5289 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.4123, allocations: 32.17 kB / 0.5289 GB, free: 5.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.4124, allocations: 337.3 kB / 0.5292 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.4125, allocations: 35.86 kB / 0.5292 GB, free: 5.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.761e-05/0.4125, allocations: 59.45 kB / 0.5293 GB, free: 5.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.4138, allocations: 260.8 kB / 0.5295 GB, free: 4.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4138, allocations: 0 / 0.5295 GB, free: 4.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002741/0.4141, allocations: 168.8 kB / 0.5297 GB, free: 4.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4141, allocations: 5.312 kB / 0.5297 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4141, allocations: 1.25 kB / 0.5297 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4141, allocations: 5.156 kB / 0.5297 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.4143, allocations: 47.34 kB / 0.5298 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4143, allocations: 2.281 kB / 0.5298 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.4145, allocations: 20.47 kB / 0.5298 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.4145, allocations: 4.562 kB / 0.5298 GB, free: 4.801 MB / 382.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: 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.00018/0.4147, allocations: 139.4 kB / 0.5299 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.4147, allocations: 28.64 kB / 0.5299 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.4151, allocations: 164 kB / 0.5301 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4151, allocations: 7.375 kB / 0.5301 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4151, allocations: 0 / 0.5301 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4151, allocations: 0.7031 kB / 0.5301 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.4154, allocations: 249.9 kB / 0.5304 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4154, allocations: 0 / 0.5304 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.4156, allocations: 31.7 kB / 0.5304 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.4156, allocations: 5.438 kB / 0.5304 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4156, allocations: 1.125 kB / 0.5304 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4156, allocations: 5.031 kB / 0.5304 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4156, allocations: 0 / 0.5304 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.4159, allocations: 273.4 kB / 0.5307 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.416, allocations: 36.33 kB / 0.5307 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.416, allocations: 1.938 kB / 0.5307 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.4161, allocations: 8.688 kB / 0.5307 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.4162, allocations: 9.344 kB / 0.5307 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.4162, allocations: 2.281 kB / 0.5307 GB, free: 4.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.4164, allocations: 213.9 kB / 0.5309 GB, free: 4.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4164, allocations: 96 / 0.5309 GB, free: 4.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.4167, allocations: 57.48 kB / 0.531 GB, free: 3.992 MB / 382.1 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 (13): * Single equations (assignments): 13 * 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.0001312/0.4168, allocations: 108.8 kB / 0.5311 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.4171, allocations: 92.48 kB / 0.5312 GB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4171, allocations: 0 / 0.5312 GB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-05/0.4172, allocations: 44.66 kB / 0.5312 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.4176, allocations: 60.2 kB / 0.5313 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.4187, allocations: 0.6233 MB / 0.5319 GB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.4189, allocations: 0.7485 MB / 0.5326 GB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.4189, allocations: 28.78 kB / 0.5326 GB, free: 2.688 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4189, allocations: 0 / 0.5326 GB, free: 2.688 MB / 382.1 MB Notification: Performance of Templates: time 0.007388/0.4263, allocations: 3.142 MB / 0.5357 GB, free: 2.402 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.697398999007419] Failed to read output from testmodel.py, exit status != 0: 0.43569319206289947 0.45256419900000006 0.041068529 Calling exit ...