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.002041/0.002041, allocations: 84.8 kB / 19.96 MB, free: 1.754 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.001665/0.001665, allocations: 161.3 kB / 23.23 MB, free: 4.891 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.469/1.469, allocations: 177.1 MB / 203.5 MB, free: 9.188 MB / 190.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.1306/0.1306, allocations: 18.13 MB / 278.1 MB, free: 15.08 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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 415.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.281e-05/3.473e-05, allocations: 2.281 kB / 415.6 MB, free: 2.578 MB / 334.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.03891/0.03895, allocations: 23.39 MB / 439 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000873/0.03982, allocations: 219.1 kB / 439.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.04006, allocations: 15.94 kB / 439.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.04017, allocations: 35.58 kB / 439.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.04054, allocations: 107.2 kB / 439.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.04071, allocations: 39.94 kB / 439.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.04111, allocations: 306.3 kB / 439.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.04141, allocations: 125.5 kB / 439.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.04172, allocations: 135.5 kB / 439.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.04189, allocations: 67.81 kB / 440 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.04194, allocations: 12 kB / 440 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.377e-05/0.04198, allocations: 16 kB / 440 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.04203, allocations: 43.77 kB / 440.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.04215, allocations: 71.84 kB / 440.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.04251, allocations: 223.2 kB / 440.3 MB, free: 9.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.04252, allocations: 7.938 kB / 440.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.04252, allocations: 0 / 440.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.04253, allocations: 0 / 440.4 MB, free: 9.949 MB / 366.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.001069/0.0436, allocations: 453.3 kB / 440.8 MB, free: 9.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.04364, allocations: 12.92 kB / 440.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/0.04372, allocations: 28.8 kB / 440.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.04411, allocations: 204.8 kB / 441 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.04414, allocations: 16.7 kB / 441.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.04418, allocations: 20.31 kB / 441.1 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.04463, allocations: 196.7 kB / 441.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.04464, allocations: 192 / 441.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.04466, allocations: 8.375 kB / 441.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.04467, allocations: 4.375 kB / 441.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.04503, allocations: 123.8 kB / 441.4 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.0461, allocations: 0.7466 MB / 442.1 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.04633, allocations: 70.55 kB / 442.2 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.04649, allocations: 56.83 kB / 442.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.04651, allocations: 4 kB / 442.3 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.04654, allocations: 34.5 kB / 442.3 MB, free: 7.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.04655, allocations: 0 / 442.3 MB, free: 7.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005884/0.04713, allocations: 185.7 kB / 442.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.04719, allocations: 55.41 kB / 442.5 MB, free: 7.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.04742, allocations: 196.4 kB / 442.7 MB, free: 7.395 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.04744, allocations: 25.7 kB / 442.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.04755, allocations: 152.3 kB / 442.9 MB, free: 7.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.0476, allocations: 47.59 kB / 443 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.04766, allocations: 33.7 kB / 443 MB, free: 7.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.04786, allocations: 326.8 kB / 443.3 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.048, allocations: 39.97 kB / 443.3 MB, free: 6.758 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.04817, allocations: 73.16 kB / 443.4 MB, free: 6.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009181/0.04909, allocations: 218.6 kB / 443.6 MB, free: 6.453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.04909, allocations: 0 / 443.6 MB, free: 6.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003987/0.04949, allocations: 172 kB / 443.8 MB, free: 6.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.04951, allocations: 6.5 kB / 443.8 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.04951, allocations: 4 kB / 443.8 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.04953, allocations: 4 kB / 443.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.04975, allocations: 31.98 kB / 443.8 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.04976, allocations: 8 kB / 443.9 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.04988, allocations: 15.94 kB / 443.9 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.04989, allocations: 4 kB / 443.9 MB, free: 6.211 MB / 366.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.0001941/0.05008, allocations: 134.3 kB / 444 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.05014, allocations: 23.8 kB / 444 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.05019, allocations: 25.45 kB / 444.1 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.05019, allocations: 4 kB / 444.1 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.05019, allocations: 4 kB / 444.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.0502, allocations: 0 / 444.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.05047, allocations: 189.1 kB / 444.2 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.05048, allocations: 3.984 kB / 444.3 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.0507, allocations: 31.92 kB / 444.3 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.0507, allocations: 0 / 444.3 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.05072, allocations: 7.938 kB / 444.3 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.05073, allocations: 0 / 444.3 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.05073, allocations: 0 / 444.3 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.05131, allocations: 303.8 kB / 444.6 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.05135, allocations: 19.83 kB / 444.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.05138, allocations: 7.938 kB / 444.6 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.05152, allocations: 7.984 kB / 444.6 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.05159, allocations: 15.97 kB / 444.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.0516, allocations: 4 kB / 444.6 MB, free: 5.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.05174, allocations: 151.5 kB / 444.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.05174, allocations: 0 / 444.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.05207, allocations: 48.02 kB / 444.8 MB, free: 5.199 MB / 366.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.0001325/0.0522, allocations: 99.23 kB / 444.9 MB, free: 5.094 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003588/0.05256, allocations: 107.9 kB / 445 MB, free: 4.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.05256, allocations: 0 / 445 MB, free: 4.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.05273, allocations: 55.91 kB / 445.1 MB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.05312, allocations: 52.03 kB / 445.1 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.0542, allocations: 486.1 kB / 445.6 MB, free: 4.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.05434, allocations: 126.2 kB / 445.7 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.05447, allocations: 29.94 kB / 445.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.05453, allocations: 20.5 kB / 445.8 MB, free: 4.184 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.05453, allocations: 0 / 445.8 MB, free: 4.184 MB / 366.1 MB Notification: Performance of Templates: time 0.006948/0.06148, allocations: 2.369 MB / 448.2 MB, free: 1.867 MB / 366.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: 4.844382077455521] Failed to read output from testmodel.py, exit status != 0: 0.0713597759604454 0.288811377 0.24354419200000002 Calling exit ...