Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_002.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 103.3 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.1008/0.1008, allocations: 22.7 MB / 325.4 MB, free: 3.531 MB / 254.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.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.Devel_test_models.Test_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") translateModel(AES.Devel_test_models.Test_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.89 kB / 457.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.138, allocations: 58.02 MB / 0.5036 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.003457/0.1414, allocations: 1.945 MB / 0.5055 GB, free: 5.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004788/0.1419, allocations: 159.4 kB / 0.5057 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.514e-05/0.142, allocations: 0 / 0.5057 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.926e-05/0.1421, allocations: 19.8 kB / 0.5057 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.1423, allocations: 59.48 kB / 0.5057 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.1424, allocations: 35.89 kB / 0.5058 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.1426, allocations: 163.1 kB / 0.5059 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.1429, allocations: 77.27 kB / 0.506 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.143, allocations: 75.72 kB / 0.5061 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1432, allocations: 67.7 kB / 0.5061 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.1432, allocations: 12 kB / 0.5061 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.427e-05/0.1432, allocations: 8 kB / 0.5061 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.1433, allocations: 27.86 kB / 0.5062 GB, free: 4.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.854e-05/0.1433, allocations: 71.67 kB / 0.5062 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.1436, allocations: 159.2 kB / 0.5064 GB, free: 4.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1436, allocations: 0 / 0.5064 GB, free: 4.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1436, allocations: 0 / 0.5064 GB, free: 4.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1436, allocations: 3.938 kB / 0.5064 GB, free: 4.234 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007602/0.1444, allocations: 450.6 kB / 0.5068 GB, free: 3.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1444, allocations: 8.031 kB / 0.5068 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.514e-05/0.1445, allocations: 24.78 kB / 0.5069 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.1448, allocations: 217.5 kB / 0.5071 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1449, allocations: 4.375 kB / 0.5071 GB, free: 3.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.1449, allocations: 12.38 kB / 0.5071 GB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.1452, allocations: 121.5 kB / 0.5072 GB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1452, allocations: 4.188 kB / 0.5072 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1452, allocations: 7.938 kB / 0.5072 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.1452, allocations: 4 kB / 0.5072 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.1453, allocations: 59.97 kB / 0.5073 GB, free: 3.242 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) * Candidate: P.port.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1464, allocations: 0.7948 MB / 0.508 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1465, allocations: 46.56 kB / 0.5081 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.1466, allocations: 16.86 kB / 0.5081 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1466, allocations: 3.938 kB / 0.5081 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1466, allocations: 34.64 kB / 0.5081 GB, free: 2.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.1466, allocations: 0 / 0.5081 GB, free: 2.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002442/0.1469, allocations: 81.53 kB / 0.5082 GB, free: 2.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.1469, allocations: 51.41 kB / 0.5083 GB, free: 2.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.1471, allocations: 199.9 kB / 0.5085 GB, free: 1.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1471, allocations: 25.7 kB / 0.5085 GB, free: 1.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.629e-05/0.1472, allocations: 124 kB / 0.5086 GB, free: 1.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.1473, allocations: 7.906 kB / 0.5086 GB, free: 1.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.1473, allocations: 25.7 kB / 0.5086 GB, free: 1.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1474, allocations: 322.8 kB / 0.5089 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.1475, allocations: 16 kB / 0.509 GB, free: 1.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-05/0.1475, allocations: 29.69 kB / 0.509 GB, free: 1.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.1479, allocations: 81.62 kB / 0.5091 GB, free: 1.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1479, allocations: 0 / 0.5091 GB, free: 1.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001775/0.148, allocations: 97.47 kB / 0.5092 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1481, allocations: 7.984 kB / 0.5092 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1481, allocations: 0 / 0.5092 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1481, allocations: 4 kB / 0.5092 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.128e-05/0.1482, allocations: 11.94 kB / 0.5092 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1482, allocations: 4 kB / 0.5092 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/0.1483, allocations: 11.88 kB / 0.5092 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1483, allocations: 8 kB / 0.5092 GB, free: 1.066 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 0.0 start = header.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"fluid T\" 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 (7): * Single equations (assignments): 7 * 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.0001441/0.1484, allocations: 122 kB / 0.5093 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.1485, allocations: 23.83 kB / 0.5093 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.1485, allocations: 20.86 kB / 0.5094 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1485, allocations: 0 / 0.5094 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1485, allocations: 0 / 0.5094 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1485, allocations: 0 / 0.5094 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.1487, allocations: 205.7 kB / 0.5096 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.1487, allocations: 7.938 kB / 0.5096 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.372e-05/0.1488, allocations: 15.92 kB / 0.5096 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1488, allocations: 0 / 0.5096 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1488, allocations: 4 kB / 0.5096 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1488, allocations: 0 / 0.5096 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1488, allocations: 4 kB / 0.5096 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1491, allocations: 175.4 kB / 0.5098 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.1491, allocations: 89 kB / 0.5098 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.1492, allocations: 4.031 kB / 0.5098 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.982e-05/0.1492, allocations: 0 / 0.5098 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.1493, allocations: 8.047 kB / 0.5099 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1493, allocations: 0 / 0.5099 GB, free: 312 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.1494, allocations: 148.2 kB / 0.51 GB, free: 164 kB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1494, allocations: 0 / 0.51 GB, free: 164 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1496, allocations: 27.95 kB / 0.51 GB, free: 136 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.T) * 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 (3): * Single equations (assignments): 3 * 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.0001149/0.1498, allocations: 99.19 kB / 0.5101 GB, free: 28 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2413/0.391, allocations: 29.06 kB / 0.5101 GB, free: 16.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.391, allocations: 0.6562 kB / 0.5101 GB, free: 16.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.3911, allocations: 13.14 kB / 0.5102 GB, free: 16.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.3916, allocations: 31.08 kB / 0.5102 GB, free: 16.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.3923, allocations: 345.9 kB / 0.5105 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.3925, allocations: 0.7113 MB / 0.5112 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.424e-05/0.3925, allocations: 14.91 kB / 0.5112 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.3926, allocations: 12.75 kB / 0.5112 GB, free: 15.13 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3926, allocations: 1 kB / 0.5112 GB, free: 15.13 MB / 382.1 MB Notification: Performance of Templates: time 0.004396/0.397, allocations: 1.404 MB / 0.5126 GB, free: 15.08 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_header_002.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & ./AES_AES.Devel_test_models.Test_header_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.870080489199609] Failed to read output from testmodel.py, exit status != 0: 0.4053508178330958 0.41644079599999995 0.27025779799999994 Calling exit ...