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.0007652/0.0007652, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.001857, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006975/0.0006975, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008511/0.001549, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9968/0.9968, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08129/1.078, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.082/0.082, allocations: 18.13 MB / 262.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02076/0.1028, allocations: 6.785 MB / 268.9 MB, free: 6.344 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.262e-06/1.262e-06, allocations: 0 / 270.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.535e-05, allocations: 2.312 kB / 270.3 MB, free: 4.906 MB / 266.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.02528/0.02531, allocations: 2.892 MB / 273.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004072/0.02938, allocations: 438.2 kB / 273.6 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.02961, allocations: 15.88 kB / 273.6 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.876e-05/0.02971, allocations: 43.56 kB / 273.7 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.03002, allocations: 154.7 kB / 273.8 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.03023, allocations: 87.75 kB / 273.9 MB, free: 1.266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.03065, allocations: 441.7 kB / 274.3 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.03096, allocations: 225.9 kB / 274.6 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.0314, allocations: 311.2 kB / 274.9 MB, free: 316 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.03161, allocations: 143.6 kB / 275 MB, free: 172 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/0.03165, allocations: 28 kB / 275 MB, free: 144 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.03178, allocations: 63.94 kB / 275.1 MB, free: 80 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.03183, allocations: 55.75 kB / 275.2 MB, free: 24 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1092/0.141, allocations: 98.38 kB / 275.3 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.1414, allocations: 254.6 kB / 275.5 MB, free: 2.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.6e-05/0.1414, allocations: 1.25 kB / 275.5 MB, free: 2.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1414, allocations: 0 / 275.5 MB, free: 2.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.1414, allocations: 2.594 kB / 275.5 MB, free: 2.543 MB / 266.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.0007078/0.1421, allocations: 0.6115 MB / 276.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1421, allocations: 9.344 kB / 276.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.1422, allocations: 43.59 kB / 276.2 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1425, allocations: 231.7 kB / 276.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1425, allocations: 15.44 kB / 276.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1425, allocations: 23.25 kB / 276.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.1428, allocations: 226.5 kB / 276.7 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1428, allocations: 1.438 kB / 276.7 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1428, allocations: 11.38 kB / 276.7 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1428, allocations: 9.797 kB / 276.7 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1429, allocations: 92.33 kB / 276.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.1436, allocations: 0.5974 MB / 277.4 MB, free: 1.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1438, allocations: 97.45 kB / 277.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.1438, allocations: 56.55 kB / 277.5 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1439, allocations: 5.156 kB / 277.5 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.1439, allocations: 35.92 kB / 277.6 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001539/0.144, allocations: 55.59 kB / 277.6 MB, free: 1.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.283e-06/0.144, allocations: 0.8125 kB / 277.6 MB, free: 1.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006069/0.1447, allocations: 312.3 kB / 277.9 MB, free: 1.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.764e-05/0.1447, allocations: 53.78 kB / 278 MB, free: 1.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1448, allocations: 248.9 kB / 278.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1448, allocations: 31.2 kB / 278.2 MB, free: 1.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.1449, allocations: 160.7 kB / 278.4 MB, free: 1.023 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.1449, allocations: 69.3 kB / 278.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.1449, allocations: 45.58 kB / 278.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.708e-05/0.145, allocations: 340.1 kB / 278.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.145, allocations: 24.48 kB / 278.9 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.691e-05/0.1451, allocations: 55.55 kB / 278.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.1452, allocations: 137.5 kB / 279.1 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1452, allocations: 0 / 279.1 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003298/0.1456, allocations: 193.2 kB / 279.2 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1456, allocations: 8.484 kB / 279.3 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1456, allocations: 1.031 kB / 279.3 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/0.1461, allocations: 129 kB / 279.4 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.1463, allocations: 61.11 kB / 279.4 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002288/0.1465, allocations: 0.5433 MB / 280 MB, free: 16.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.1466, allocations: 8.156 kB / 280 MB, free: 16.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1466, allocations: 6.031 kB / 280 MB, free: 16.04 MB / 282.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.000114/0.1467, allocations: 139.8 kB / 280.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1467, allocations: 18.11 kB / 280.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/0.1471, allocations: 246.1 kB / 280.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1471, allocations: 2.281 kB / 280.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1471, allocations: 1.094 kB / 280.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1471, allocations: 8.141 kB / 280.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.1477, allocations: 450.1 kB / 280.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1477, allocations: 0.875 kB / 280.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.1478, allocations: 48.19 kB / 280.9 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.1479, allocations: 23.92 kB / 280.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003288/0.1482, allocations: 117.4 kB / 281 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1482, allocations: 10.09 kB / 281 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002004/0.1484, allocations: 0.5535 MB / 281.6 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1484, allocations: 1.188 kB / 281.6 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.1488, allocations: 367.6 kB / 281.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1488, allocations: 2.844 kB / 282 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.1489, allocations: 6.031 kB / 282 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.1489, allocations: 22.34 kB / 282 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1489, allocations: 4.875 kB / 282 MB, free: 14.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.666e-05/0.149, allocations: 93.58 kB / 282.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.149, allocations: 0 / 282.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.1492, allocations: 85.19 kB / 282.2 MB, free: 14.91 MB / 282.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.0001085/0.1493, allocations: 87.7 kB / 282.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1495, allocations: 128 kB / 282.4 MB, free: 14.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.1495, allocations: 4.844 kB / 282.4 MB, free: 14.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1497, allocations: 85.17 kB / 282.5 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.1499, allocations: 97.14 kB / 282.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/0.1542, allocations: 0.5904 MB / 283.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.208e-05/0.1543, allocations: 94.06 kB / 283.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.1544, allocations: 38.89 kB / 283.3 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.1545, allocations: 125.9 kB / 283.4 MB, free: 14.37 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1545, allocations: 0 / 283.4 MB, free: 14.37 MB / 282.7 MB Notification: Performance of Templates: time 0.006783/0.1613, allocations: 4.541 MB / 287.9 MB, free: 13.49 MB / 282.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: 2.7668624948710203]