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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 102.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1018/0.1018, allocations: 22.69 MB / 327.7 MB, free: 2.898 MB / 254.1 MB [Timeout remaining time 90] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002077/0.002077, allocations: 67.89 kB / 461 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1061, allocations: 58.02 MB / 0.5069 GB, free: 5.66 MB / 382.1 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.3846/0.4907, allocations: 22.65 MB / 0.529 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005866/0.4913, allocations: 222.7 kB / 0.5292 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.4914, allocations: 16.81 kB / 0.5292 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.238e-05/0.4915, allocations: 32.95 kB / 0.5293 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.4916, allocations: 99.45 kB / 0.5294 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.4918, allocations: 45.02 kB / 0.5294 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.492, allocations: 285.9 kB / 0.5297 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.4922, allocations: 128.4 kB / 0.5298 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.4924, allocations: 133.5 kB / 0.5299 GB, free: 7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.4925, allocations: 98.59 kB / 0.53 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.4926, allocations: 14.22 kB / 0.53 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.977e-05/0.4926, allocations: 15.09 kB / 0.53 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.4926, allocations: 48.09 kB / 0.5301 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.213e-05/0.4927, allocations: 109.2 kB / 0.5302 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.4929, allocations: 221.1 kB / 0.5304 GB, free: 6.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.396e-05/0.493, allocations: 5.031 kB / 0.5304 GB, free: 6.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.493, allocations: 0 / 0.5304 GB, free: 6.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.493, allocations: 0 / 0.5304 GB, free: 6.875 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006067/0.4936, allocations: 0.5186 MB / 0.5309 GB, free: 6.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.4936, allocations: 9.969 kB / 0.5309 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.4937, allocations: 29.12 kB / 0.531 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.4939, allocations: 279.5 kB / 0.5312 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.494, allocations: 10.73 kB / 0.5312 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.494, allocations: 25.83 kB / 0.5313 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.4943, allocations: 191.6 kB / 0.5314 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4943, allocations: 4.188 kB / 0.5314 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.4943, allocations: 10.16 kB / 0.5315 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4943, allocations: 8.531 kB / 0.5315 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.4946, allocations: 116 kB / 0.5316 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.4954, allocations: 0.8544 MB / 0.5324 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.4956, allocations: 75.31 kB / 0.5325 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.4957, allocations: 57.48 kB / 0.5325 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.4957, allocations: 5.766 kB / 0.5325 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.4957, allocations: 36 kB / 0.5326 GB, free: 5.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.4957, allocations: 0 / 0.5326 GB, free: 5.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004469/0.4962, allocations: 172.7 kB / 0.5327 GB, free: 5.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.4962, allocations: 58.03 kB / 0.5328 GB, free: 5.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.4964, allocations: 227.7 kB / 0.533 GB, free: 5.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.4964, allocations: 29.67 kB / 0.533 GB, free: 5.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.4965, allocations: 145.6 kB / 0.5332 GB, free: 5.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.4965, allocations: 53.28 kB / 0.5332 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.4965, allocations: 29.31 kB / 0.5333 GB, free: 4.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.4966, allocations: 335.7 kB / 0.5336 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.4967, allocations: 36.47 kB / 0.5336 GB, free: 4.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.4968, allocations: 68.08 kB / 0.5337 GB, free: 4.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007696/0.4976, allocations: 232.7 kB / 0.5339 GB, free: 4.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4976, allocations: 0 / 0.5339 GB, free: 4.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003017/0.4979, allocations: 162.3 kB / 0.5341 GB, free: 4.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4979, allocations: 5.875 kB / 0.5341 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4979, allocations: 5.312 kB / 0.5341 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4979, allocations: 1.344 kB / 0.5341 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.4981, allocations: 36.52 kB / 0.5341 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4981, allocations: 6.016 kB / 0.5341 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.4982, allocations: 22.06 kB / 0.5341 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.4983, allocations: 7.812 kB / 0.5341 GB, free: 4.5 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.0001226/0.4984, allocations: 137.7 kB / 0.5343 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.4984, allocations: 22.23 kB / 0.5343 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.4985, allocations: 24.66 kB / 0.5343 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4985, allocations: 1.922 kB / 0.5343 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4985, allocations: 1.375 kB / 0.5343 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4985, allocations: 0.6094 kB / 0.5343 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.4987, allocations: 270.5 kB / 0.5346 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4987, allocations: 0 / 0.5346 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.4989, allocations: 42.08 kB / 0.5346 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4989, allocations: 1.188 kB / 0.5346 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.4989, allocations: 5.547 kB / 0.5346 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4989, allocations: 0 / 0.5346 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.4989, allocations: 4.688 kB / 0.5346 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.4993, allocations: 293 kB / 0.5349 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.4994, allocations: 100.3 kB / 0.535 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.4994, allocations: 4.969 kB / 0.535 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.4995, allocations: 3.75 kB / 0.535 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.4996, allocations: 17.95 kB / 0.535 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4996, allocations: 2.5 kB / 0.535 GB, free: 3.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.4997, allocations: 168 kB / 0.5352 GB, free: 3.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4997, allocations: 0 / 0.5352 GB, free: 3.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.5, allocations: 47.86 kB / 0.5352 GB, free: 3.801 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 (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 7.313e-05/0.5001, allocations: 105.2 kB / 0.5353 GB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.5004, allocations: 106.8 kB / 0.5354 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5004, allocations: 1.531 kB / 0.5354 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.5005, allocations: 54.92 kB / 0.5355 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.5008, allocations: 51.8 kB / 0.5355 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008813/0.5017, allocations: 0.5735 MB / 0.5361 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.5019, allocations: 0.7386 MB / 0.5368 GB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.5019, allocations: 20.94 kB / 0.5368 GB, free: 2.625 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5019, allocations: 0 / 0.5368 GB, free: 2.625 MB / 382.1 MB Notification: Performance of Templates: time 0.00453/0.5064, allocations: 2.661 MB / 0.5394 GB, free: 2.418 MB / 382.1 MB [Timeout remaining time 659] 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]