Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_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.001986/0.001986, allocations: 84.23 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002216/0.002216, allocations: 165.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.531/1.531, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 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.1109/0.1109, allocations: 18.14 MB / 278.5 MB, free: 11.31 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_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.414e-05, allocations: 6.312 kB / 356.5 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003486/0.00352, allocations: 2.069 MB / 358.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005181/0.004038, allocations: 207.2 kB / 358.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.00416, allocations: 15.88 kB / 358.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.345e-05/0.004234, allocations: 27.72 kB / 358.8 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.004474, allocations: 99.17 kB / 358.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.004623, allocations: 43.94 kB / 359 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.004968, allocations: 306.2 kB / 359.3 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.005237, allocations: 112.8 kB / 359.4 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.005471, allocations: 123.7 kB / 359.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.005618, allocations: 67.75 kB / 359.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.005655, allocations: 16 kB / 359.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.973e-05/0.005694, allocations: 12 kB / 359.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.005734, allocations: 31.84 kB / 359.6 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.005845, allocations: 83.83 kB / 359.7 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.006159, allocations: 219.2 kB / 359.9 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.006162, allocations: 0 / 359.9 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.006163, allocations: 0 / 359.9 MB, free: 4.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.299e-06/0.006169, allocations: 0 / 359.9 MB, free: 4.754 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007828/0.006951, allocations: 441 kB / 360.3 MB, free: 4.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.006999, allocations: 16.91 kB / 360.4 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.469e-05/0.007084, allocations: 36.8 kB / 360.4 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.007478, allocations: 218.4 kB / 360.6 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.007495, allocations: 8.375 kB / 360.6 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.007537, allocations: 20.31 kB / 360.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.007857, allocations: 162.8 kB / 360.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.007866, allocations: 192 / 360.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.007885, allocations: 4.375 kB / 360.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.007894, allocations: 7.938 kB / 360.8 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.008105, allocations: 99.89 kB / 360.9 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009487/0.009054, allocations: 0.7001 MB / 361.6 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.009236, allocations: 70.56 kB / 361.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.793e-05/0.009314, allocations: 36.84 kB / 361.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.009325, allocations: 0 / 361.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.009361, allocations: 38.5 kB / 361.7 MB, free: 2.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 8.51e-07/0.009362, allocations: 0 / 361.7 MB, free: 2.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003186/0.009681, allocations: 117.6 kB / 361.9 MB, free: 2.648 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.009727, allocations: 59.41 kB / 361.9 MB, free: 2.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.00999, allocations: 225.7 kB / 362.1 MB, free: 2.352 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.01001, allocations: 29.7 kB / 362.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.01014, allocations: 156.3 kB / 362.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.01018, allocations: 31.73 kB / 362.4 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.01023, allocations: 25.72 kB / 362.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.0104, allocations: 342.7 kB / 362.7 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.636e-05/0.01047, allocations: 24 kB / 362.7 MB, free: 1.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.494e-05/0.01056, allocations: 54.5 kB / 362.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.0111, allocations: 154.5 kB / 362.9 MB, free: 1.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.0111, allocations: 3.938 kB / 362.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002526/0.01135, allocations: 141.6 kB / 363.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.01137, allocations: 11.94 kB / 363.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01137, allocations: 4.062 kB / 363.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.01139, allocations: 0 / 363.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.01157, allocations: 27.98 kB / 363.1 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01158, allocations: 0 / 363.1 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.01168, allocations: 15.89 kB / 363.1 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.01169, allocations: 4 kB / 363.1 MB, free: 1.293 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: 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 (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 prepare postOptimizeDAE: time 0.0002613/0.01195, allocations: 141.5 kB / 363.3 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.01201, allocations: 23.91 kB / 363.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.145e-05/0.01206, allocations: 21.77 kB / 363.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01206, allocations: 0 / 363.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.01207, allocations: 0 / 363.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01207, allocations: 0 / 363.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.01232, allocations: 177.2 kB / 363.5 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01232, allocations: 0 / 363.5 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.01248, allocations: 23.98 kB / 363.5 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01249, allocations: 0 / 363.5 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.0125, allocations: 4 kB / 363.5 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.0125, allocations: 4 kB / 363.5 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0125, allocations: 0 / 363.5 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.01285, allocations: 235.3 kB / 363.8 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.01289, allocations: 27.81 kB / 363.8 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.01292, allocations: 7.984 kB / 363.8 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.01302, allocations: 0 / 363.8 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.01304, allocations: 0 / 363.8 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.01306, allocations: 7.984 kB / 363.8 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001572/0.01321, allocations: 161.2 kB / 364 MB, free: 436 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01321, allocations: 0 / 364 MB, free: 436 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.01349, allocations: 39.95 kB / 364 MB, free: 396 kB / 282.7 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 (8): * Single equations (assignments): 8 * 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.0001263/0.01362, allocations: 99.31 kB / 364.1 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.01382, allocations: 72.3 kB / 364.2 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01382, allocations: 0 / 364.2 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.5e-05/0.01388, allocations: 35.86 kB / 364.2 MB, free: 176 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.01427, allocations: 63.8 kB / 364.3 MB, free: 116 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.01517, allocations: 441.6 kB / 364.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.01529, allocations: 121.6 kB / 364.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.07e-05/0.01539, allocations: 21.95 kB / 364.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.01544, allocations: 16.5 kB / 364.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01544, allocations: 0 / 364.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of Templates: time 0.005811/0.02125, allocations: 2.229 MB / 367.1 MB, free: 13.31 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.465517121949233]