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.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.000871/0.000871, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0008626/0.0008626, allocations: 165.2 kB / 23.98 MB, free: 0.582 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 0.8462/0.8462, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.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.06056/0.06056, allocations: 18.13 MB / 278.8 MB, free: 11.52 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.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 1.242e-06/1.242e-06, allocations: 0 / 416.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.659e-05, allocations: 7.641 kB / 416.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.002467/0.002493, allocations: 2.945 MB / 419.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.003631, allocations: 0.9073 MB / 420.2 MB, free: 9.879 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.003772, allocations: 4.219 kB / 420.2 MB, free: 9.879 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.003925, allocations: 66.16 kB / 420.3 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.004163, allocations: 188.1 kB / 420.4 MB, free: 9.707 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.004576, allocations: 197.5 kB / 420.6 MB, free: 9.598 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.005067, allocations: 0.7698 MB / 421.4 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003723/0.005439, allocations: 349.3 kB / 421.7 MB, free: 9.062 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.005776, allocations: 309.5 kB / 422 MB, free: 8.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.006113, allocations: 314.7 kB / 422.4 MB, free: 8.824 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.264e-05/0.006196, allocations: 81.25 kB / 422.4 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.462e-05/0.00628, allocations: 76.94 kB / 422.5 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.006396, allocations: 216.6 kB / 422.7 MB, free: 8.691 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.006573, allocations: 254.6 kB / 423 MB, free: 8.574 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.007162, allocations: 0.8453 MB / 423.8 MB, free: 8.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.007165, allocations: 5.125 kB / 423.8 MB, free: 8.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.007166, allocations: 0 / 423.8 MB, free: 8.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.007174, allocations: 0 / 423.8 MB, free: 8.242 MB / 330.7 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.001062/0.008236, allocations: 0.8297 MB / 424.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.008267, allocations: 9.484 kB / 424.7 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.004e-05/0.008357, allocations: 66 kB / 424.7 MB, free: 7.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.008754, allocations: 331.7 kB / 425 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/0.008833, allocations: 108.3 kB / 425.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.008906, allocations: 55 kB / 425.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009373/0.009844, allocations: 0.7266 MB / 425.9 MB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.009858, allocations: 5.062 kB / 425.9 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.009898, allocations: 24.44 kB / 426 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.009907, allocations: 11.69 kB / 426 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008637/0.01077, allocations: 0.6002 MB / 426.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.0137, allocations: 2.284 MB / 428.9 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.01438, allocations: 0.5259 MB / 429.4 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004953/0.01488, allocations: 388.9 kB / 429.8 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.01491, allocations: 5.281 kB / 429.8 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.01492, allocations: 42.94 kB / 429.8 MB, free: 5.168 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 1.473e-06/0.01493, allocations: 1.062 kB / 429.8 MB, free: 5.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.003309/0.01823, allocations: 2.184 MB / 432 MB, free: 4.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.01826, allocations: 58.09 kB / 432 MB, free: 4.242 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.01845, allocations: 282.1 kB / 432.3 MB, free: 4.082 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.01848, allocations: 35.86 kB / 432.4 MB, free: 4.043 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.01856, allocations: 232.7 kB / 432.6 MB, free: 3.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.167e-05/0.01864, allocations: 206 kB / 432.8 MB, free: 3.691 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.01875, allocations: 96.95 kB / 432.9 MB, free: 3.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.058e-05/0.01879, allocations: 352.2 kB / 433.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/0.01928, allocations: 364.9 kB / 433.6 MB, free: 3.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005128/0.0198, allocations: 429.1 kB / 434 MB, free: 2.984 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003492/0.02329, allocations: 2.006 MB / 436 MB, free: 2.023 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.02329, allocations: 5.344 kB / 436 MB, free: 2.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001054/0.02435, allocations: 0.8481 MB / 436.9 MB, free: 1.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.02436, allocations: 10.88 kB / 436.9 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.02437, allocations: 2.688 kB / 436.9 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.02438, allocations: 4.281 kB / 436.9 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/0.02701, allocations: 0.899 MB / 437.8 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.02702, allocations: 7.422 kB / 437.8 MB, free: 1.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.02725, allocations: 58.09 kB / 437.8 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.02728, allocations: 22.58 kB / 437.9 MB, free: 1.23 MB / 330.7 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.0001966/0.02747, allocations: 203.6 kB / 438.1 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.02753, allocations: 42.2 kB / 438.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.02854, allocations: 0.8209 MB / 438.9 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.02854, allocations: 5.906 kB / 438.9 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.02855, allocations: 0.875 kB / 438.9 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.02855, allocations: 0 / 438.9 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.03042, allocations: 1.605 MB / 440.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.03042, allocations: 0.9375 kB / 440.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/0.03312, allocations: 0.8962 MB / 441.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.03312, allocations: 4 kB / 441.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.03315, allocations: 15.98 kB / 441.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.03316, allocations: 4 kB / 441.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.03316, allocations: 0 / 441.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.03467, allocations: 1.275 MB / 442.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.03471, allocations: 35.77 kB / 442.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.03476, allocations: 19.98 kB / 442.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.03499, allocations: 55.94 kB / 442.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.03509, allocations: 76.36 kB / 442.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.03512, allocations: 19.98 kB / 442.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.03523, allocations: 195.1 kB / 443.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03523, allocations: 0 / 443.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.03555, allocations: 148.1 kB / 443.3 MB, free: 12.95 MB / 346.7 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.0001002/0.03565, allocations: 115.2 kB / 443.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.03668, allocations: 0.7558 MB / 444.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.03668, allocations: 0 / 444.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.03717, allocations: 403 kB / 444.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.03752, allocations: 77.8 kB / 444.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.0397, allocations: 1.694 MB / 446.3 MB, free: 9.859 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.03984, allocations: 254.2 kB / 446.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.04004, allocations: 52.47 kB / 446.6 MB, free: 9.539 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.04004, allocations: 4 kB / 446.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of Templates: time 0.006059/0.0461, allocations: 7.244 MB / 453.9 MB, free: 2.312 MB / 346.7 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: 4.304033446125686] Failed to read output from testmodel.py, exit status != 0: 0.0513075003400445 0.059276459000000004 0.050476394 Calling exit ...