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.001406/0.001406, allocations: 96.41 kB / 20.46 MB, free: 1.379 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.00171/0.00171, allocations: 227.3 kB / 23.77 MB, free: 4.531 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1287/0.1287, allocations: 24.04 MB / 338 MB, free: 11.32 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_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: 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.00227/0.00227, allocations: 67.88 kB / 475.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3327, allocations: 59.58 MB / 0.5221 GB, free: 10.39 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.0705/0.4033, allocations: 23.08 MB / 0.5447 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006945/0.4039, allocations: 218.5 kB / 0.5449 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.4041, allocations: 21.09 kB / 0.5449 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.009e-05/0.4042, allocations: 28.66 kB / 0.5449 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.4045, allocations: 108.2 kB / 0.545 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.4047, allocations: 41.58 kB / 0.5451 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.4049, allocations: 290.9 kB / 0.5454 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.4051, allocations: 125 kB / 0.5455 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.4054, allocations: 136.3 kB / 0.5456 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.4055, allocations: 91.12 kB / 0.5457 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.4055, allocations: 12 kB / 0.5457 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-05/0.4056, allocations: 16 kB / 0.5457 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.4056, allocations: 41.77 kB / 0.5458 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.82e-05/0.4057, allocations: 89.75 kB / 0.5458 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.4059, allocations: 237.5 kB / 0.5461 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4059, allocations: 4 kB / 0.5461 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4059, allocations: 0 / 0.5461 GB, free: 1.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.4059, allocations: 0 / 0.5461 GB, free: 1.027 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.0006276/0.4066, allocations: 449.3 kB / 0.5465 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.4066, allocations: 8.922 kB / 0.5465 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.4066, allocations: 25.36 kB / 0.5465 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.4069, allocations: 223 kB / 0.5467 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.4069, allocations: 20.7 kB / 0.5468 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.407, allocations: 12.38 kB / 0.5468 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.4073, allocations: 196.4 kB / 0.547 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4073, allocations: 192 / 0.547 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.4073, allocations: 15.88 kB / 0.547 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4073, allocations: 4 kB / 0.547 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.4076, allocations: 116.7 kB / 0.5471 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009699/0.4086, allocations: 0.7353 MB / 0.5478 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.4088, allocations: 82.7 kB / 0.5479 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.409, allocations: 55.75 kB / 0.5479 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.409, allocations: 256 / 0.5479 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.409, allocations: 35.53 kB / 0.548 GB, free: 15.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.011e-06/0.409, allocations: 4 kB / 0.548 GB, free: 15.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005325/0.4095, allocations: 182 kB / 0.5482 GB, free: 14.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.4096, allocations: 56.56 kB / 0.5482 GB, free: 14.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.4098, allocations: 196.2 kB / 0.5484 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.4098, allocations: 33.7 kB / 0.5484 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4099, allocations: 148.2 kB / 0.5486 GB, free: 14.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.41, allocations: 51.91 kB / 0.5486 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.41, allocations: 31.92 kB / 0.5486 GB, free: 14.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4102, allocations: 336.9 kB / 0.549 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.4103, allocations: 37.95 kB / 0.549 GB, free: 14.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.4105, allocations: 58.92 kB / 0.5491 GB, free: 13.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008537/0.4113, allocations: 225.6 kB / 0.5493 GB, free: 13.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.4113, allocations: 3.938 kB / 0.5493 GB, free: 13.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003593/0.4117, allocations: 166.2 kB / 0.5494 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4117, allocations: 8 kB / 0.5494 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4117, allocations: 4.062 kB / 0.5495 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4117, allocations: 0.6094 kB / 0.5495 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.4119, allocations: 32.97 kB / 0.5495 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4119, allocations: 0 / 0.5495 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.4121, allocations: 13.3 kB / 0.5495 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.4121, allocations: 12.78 kB / 0.5495 GB, free: 13.55 MB / 398.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.0001802/0.4122, allocations: 143.2 kB / 0.5496 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.4123, allocations: 16.61 kB / 0.5497 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.057e-05/0.4123, allocations: 23.77 kB / 0.5497 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4123, allocations: 4 kB / 0.5497 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4124, allocations: 0.6562 kB / 0.5497 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4124, allocations: 0.5156 kB / 0.5497 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.4126, allocations: 185.3 kB / 0.5499 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.4126, allocations: 0.75 kB / 0.5499 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.4128, allocations: 36.67 kB / 0.5499 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.4128, allocations: 4 kB / 0.5499 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.4129, allocations: 8 kB / 0.5499 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4129, allocations: 8.625 kB / 0.5499 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4129, allocations: 3.984 kB / 0.5499 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.4134, allocations: 290.4 kB / 0.5502 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.4134, allocations: 20.72 kB / 0.5502 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.4135, allocations: 5.031 kB / 0.5502 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.4136, allocations: 4.984 kB / 0.5502 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.4137, allocations: 14.28 kB / 0.5502 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.4137, allocations: 9.094 kB / 0.5503 GB, free: 12.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.4138, allocations: 147.8 kB / 0.5504 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4138, allocations: 0 / 0.5504 GB, free: 12.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.4141, allocations: 47.89 kB / 0.5504 GB, free: 12.61 MB / 398.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 0.0001091/0.4142, allocations: 99.75 kB / 0.5505 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003379/0.4145, allocations: 109.1 kB / 0.5506 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4145, allocations: 0 / 0.5506 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.4147, allocations: 66.72 kB / 0.5507 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.4151, allocations: 44.98 kB / 0.5507 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.4162, allocations: 0.5769 MB / 0.5513 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.4163, allocations: 130 kB / 0.5514 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.4164, allocations: 24.23 kB / 0.5515 GB, free: 11.59 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4164, allocations: 0 / 0.5515 GB, free: 11.59 MB / 398.1 MB Notification: Performance of Templates: time 0.006017/0.4224, allocations: 2.675 MB / 0.5541 GB, free: 10.07 MB / 398.1 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: 7.475714263971895] Failed to read output from testmodel.py, exit status != 0: 0.4315198981203139 0.446928678 0.037771331000000005 Calling exit ...