Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_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.001687/0.001687, allocations: 105.3 kB / 16.45 MB, free: 6.449 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.00183/0.00183, allocations: 186.9 kB / 19.4 MB, free: 3.66 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.453/1.453, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.1255/0.1255, allocations: 22.69 MB / 325.4 MB, free: 3.547 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_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") translateModel(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.88 kB / 457.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1402, allocations: 58.02 MB / 0.5036 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.006895/0.1471, allocations: 3.214 MB / 0.5067 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.1499, allocations: 0.9119 MB / 0.5076 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004207/0.1503, allocations: 7.938 kB / 0.5076 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.1507, allocations: 59.36 kB / 0.5077 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006207/0.1513, allocations: 186.7 kB / 0.5079 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.152, allocations: 195.5 kB / 0.5081 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008761/0.1529, allocations: 0.7484 MB / 0.5088 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005652/0.1534, allocations: 373.7 kB / 0.5091 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.1538, allocations: 315.1 kB / 0.5094 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000577/0.1544, allocations: 390.7 kB / 0.5098 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.1545, allocations: 80 kB / 0.5099 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1546, allocations: 76 kB / 0.51 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.1549, allocations: 207.4 kB / 0.5102 GB, free: 380 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.1552, allocations: 338.5 kB / 0.5105 GB, free: 40 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2486/0.4038, allocations: 0.7953 MB / 0.5113 GB, free: 11.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4038, allocations: 4.219 kB / 0.5113 GB, free: 11.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4038, allocations: 0 / 0.5113 GB, free: 11.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.4038, allocations: 0 / 0.5113 GB, free: 11.97 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001873/0.4057, allocations: 0.9073 MB / 0.5122 GB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4057, allocations: 11.56 kB / 0.5122 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.4059, allocations: 66.34 kB / 0.5122 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.4064, allocations: 391.2 kB / 0.5126 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.4065, allocations: 110.2 kB / 0.5127 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.4066, allocations: 53.42 kB / 0.5128 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.4081, allocations: 0.6933 MB / 0.5134 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.4081, allocations: 0.5312 kB / 0.5134 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.4082, allocations: 20.28 kB / 0.5135 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.4082, allocations: 12.41 kB / 0.5135 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.4096, allocations: 0.5971 MB / 0.5141 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005215/0.4148, allocations: 2.582 MB / 0.5166 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.416, allocations: 0.5248 MB / 0.5171 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009023/0.4169, allocations: 394.4 kB / 0.5175 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.417, allocations: 7.094 kB / 0.5175 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.417, allocations: 38.77 kB / 0.5175 GB, free: 10.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.244e-06/0.417, allocations: 0 / 0.5175 GB, free: 10.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.006762/0.4238, allocations: 2.26 MB / 0.5197 GB, free: 9.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.4238, allocations: 58.05 kB / 0.5198 GB, free: 9.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.4243, allocations: 359.3 kB / 0.5201 GB, free: 9.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.4243, allocations: 35.92 kB / 0.5201 GB, free: 9.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.4245, allocations: 236.2 kB / 0.5204 GB, free: 9.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.4246, allocations: 192.2 kB / 0.5206 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.4248, allocations: 98.38 kB / 0.5206 GB, free: 8.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.425, allocations: 359.4 kB / 0.521 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008953/0.4258, allocations: 369.4 kB / 0.5213 GB, free: 8.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009114/0.4268, allocations: 427.3 kB / 0.5217 GB, free: 8.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007052/0.4338, allocations: 2.084 MB / 0.5238 GB, free: 7.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4338, allocations: 5.062 kB / 0.5238 GB, free: 7.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002163/0.436, allocations: 0.857 MB / 0.5246 GB, free: 7.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.436, allocations: 6.281 kB / 0.5246 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.436, allocations: 3.594 kB / 0.5246 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.436, allocations: 8.938 kB / 0.5246 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006287/0.4423, allocations: 0.9002 MB / 0.5255 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/0.4424, allocations: 4.906 kB / 0.5255 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008718/0.4432, allocations: 53.62 kB / 0.5256 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.4434, allocations: 21.72 kB / 0.5256 GB, free: 7.141 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"cold height\" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.00063/0.444, allocations: 201.2 kB / 0.5258 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.4442, allocations: 46.56 kB / 0.5258 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.4466, allocations: 0.8291 MB / 0.5266 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.4466, allocations: 6.375 kB / 0.5267 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.4466, allocations: 0 / 0.5267 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.4466, allocations: 4.078 kB / 0.5267 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004456/0.4511, allocations: 1.801 MB / 0.5284 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4511, allocations: 4.172 kB / 0.5284 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006215/0.4573, allocations: 0.8869 MB / 0.5293 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.827e-05/0.4573, allocations: 2.531 kB / 0.5293 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.4575, allocations: 17.58 kB / 0.5293 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.574e-05/0.4575, allocations: 4.062 kB / 0.5293 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.4575, allocations: 8.844 kB / 0.5293 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003339/0.4609, allocations: 1.275 MB / 0.5306 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.4611, allocations: 125 kB / 0.5307 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.4613, allocations: 13.88 kB / 0.5307 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006285/0.4619, allocations: 54.48 kB / 0.5307 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.4621, allocations: 76.7 kB / 0.5308 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.4621, allocations: 17.94 kB / 0.5308 GB, free: 4.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003496/0.4625, allocations: 258.8 kB / 0.5311 GB, free: 4.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4625, allocations: 8 kB / 0.5311 GB, free: 4.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007605/0.4633, allocations: 145.2 kB / 0.5312 GB, free: 4.828 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (stank.lcold,stank.Thot,stank.Tcold,H.Tfo,H.Ec,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (53): * Single equations (assignments): 53 * 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.000193/0.4634, allocations: 115.2 kB / 0.5313 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.4657, allocations: 0.7447 MB / 0.5321 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.4657, allocations: 5.188 kB / 0.5321 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009616/0.4666, allocations: 407.4 kB / 0.5325 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007618/0.4674, allocations: 108.8 kB / 0.5326 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.4718, allocations: 1.888 MB / 0.5344 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.4721, allocations: 0.8633 MB / 0.5352 GB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004839/0.4726, allocations: 94.2 kB / 0.5353 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.4729, allocations: 47.02 kB / 0.5354 GB, free: 2.301 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4729, allocations: 0 / 0.5354 GB, free: 2.301 MB / 382.1 MB Notification: Performance of Templates: time 0.01721/0.4901, allocations: 8.542 MB / 0.5437 GB, free: 14.17 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_stank_002.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_stank_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_002.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_002.sim & ./AES_AES.Devel_test_models.Test_stank_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.418608787935227] Failed to read output from testmodel.py, exit status != 0: 0.5013523371890187 0.514515249 0.10748302600000001 Calling exit ...