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.001727/0.001727, allocations: 84.72 kB / 19.96 MB, free: 1.754 MB / 14.72 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.002236/0.002236, allocations: 161.1 kB / 23.23 MB, free: 4.883 MB / 14.72 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.492/1.492, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.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.1062/0.1062, allocations: 18.14 MB / 278.1 MB, free: 15.04 MB / 270.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.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.854e-06/1.854e-06, allocations: 0 / 415.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.905e-05, allocations: 2.281 kB / 415.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004718/0.004747, allocations: 2.944 MB / 418.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.006891, allocations: 0.9039 MB / 419.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002623/0.007153, allocations: 11.88 kB / 419.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.007401, allocations: 63.34 kB / 419.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.0079, allocations: 182.6 kB / 419.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.008556, allocations: 203.5 kB / 419.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.009649, allocations: 0.7599 MB / 420.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006814/0.01033, allocations: 362 kB / 421 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005673/0.0109, allocations: 295.3 kB / 421.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006021/0.0115, allocations: 327.1 kB / 421.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.01168, allocations: 76 kB / 421.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.01194, allocations: 80 kB / 421.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.01222, allocations: 207.4 kB / 422 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.01264, allocations: 255.5 kB / 422.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009848/0.01363, allocations: 0.8413 MB / 423.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01363, allocations: 7.938 kB / 423.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01363, allocations: 0 / 423.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.01365, allocations: 0 / 423.1 MB, free: 11.03 MB / 350.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.002184/0.01583, allocations: 0.8285 MB / 423.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.01587, allocations: 12.92 kB / 423.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.01604, allocations: 64.56 kB / 424 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006647/0.0167, allocations: 349.1 kB / 424.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.01686, allocations: 109 kB / 424.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.01699, allocations: 48.38 kB / 424.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.01882, allocations: 0.7325 MB / 425.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.01884, allocations: 4.188 kB / 425.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.01892, allocations: 24.12 kB / 425.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.01893, allocations: 12 kB / 425.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.02062, allocations: 0.5972 MB / 425.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005843/0.02646, allocations: 2.285 MB / 428.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.02796, allocations: 0.5257 MB / 428.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.02896, allocations: 393.4 kB / 429 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/0.02901, allocations: 8.375 kB / 429 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.02905, allocations: 42.34 kB / 429.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.904e-06/0.02905, allocations: 0 / 429.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.006743/0.03579, allocations: 2.176 MB / 431.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.03583, allocations: 55.91 kB / 431.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.03616, allocations: 280.2 kB / 431.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.366e-05/0.03623, allocations: 41.7 kB / 431.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.03641, allocations: 241.1 kB / 431.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.0366, allocations: 190.3 kB / 432 MB, free: 1.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.03683, allocations: 102.3 kB / 432.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.03699, allocations: 346.8 kB / 432.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009839/0.03797, allocations: 379.2 kB / 432.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.03898, allocations: 421.7 kB / 433.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007642/0.04662, allocations: 2.004 MB / 435.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.04663, allocations: 0 / 435.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002282/0.04891, allocations: 0.8447 MB / 436.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.04893, allocations: 7.938 kB / 436.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.04894, allocations: 4 kB / 436.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.04896, allocations: 4 kB / 436.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006518/0.05548, allocations: 0.9013 MB / 437 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.05549, allocations: 7.938 kB / 437 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.05609, allocations: 59.94 kB / 437.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/0.05616, allocations: 23.92 kB / 437.1 MB, free: 12.69 MB / 366.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.0004112/0.05657, allocations: 207.2 kB / 437.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.05669, allocations: 43.7 kB / 437.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.05896, allocations: 0.8215 MB / 438.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.05896, allocations: 4 kB / 438.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.05897, allocations: 0 / 438.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.05898, allocations: 3.984 kB / 438.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003968/0.06295, allocations: 1.599 MB / 439.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.06295, allocations: 0 / 439.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006521/0.06947, allocations: 0.8857 MB / 440.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/0.06948, allocations: 4 kB / 440.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/0.06957, allocations: 15.98 kB / 440.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.06957, allocations: 4 kB / 440.7 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.06958, allocations: 7.938 kB / 440.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/0.07288, allocations: 1.271 MB / 442 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.07302, allocations: 35.75 kB / 442 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.07313, allocations: 12 kB / 442 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.07372, allocations: 55.94 kB / 442.1 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/0.07398, allocations: 84.38 kB / 442.2 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.057e-05/0.07404, allocations: 16 kB / 442.2 MB, free: 7.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.0743, allocations: 199.1 kB / 442.4 MB, free: 7.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0743, allocations: 0 / 442.4 MB, free: 7.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000597/0.0749, allocations: 147.9 kB / 442.5 MB, free: 7.195 MB / 366.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.0001874/0.07508, allocations: 115.1 kB / 442.6 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.07727, allocations: 0.7442 MB / 443.4 MB, free: 6.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.07727, allocations: 4 kB / 443.4 MB, free: 6.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.07831, allocations: 407 kB / 443.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.0789, allocations: 85.05 kB / 443.9 MB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.08353, allocations: 1.661 MB / 445.5 MB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.08381, allocations: 250.2 kB / 445.8 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003984/0.08421, allocations: 87.27 kB / 445.8 MB, free: 3.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.0845, allocations: 48.47 kB / 445.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.0845, allocations: 0 / 445.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of Templates: time 0.1872/0.2717, allocations: 7.746 MB / 453.6 MB, free: 47.25 MB / 366.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.149470686912537] Failed to read output from testmodel.py, exit status != 0: 0.28087034821510315 0.292415227 0.275768994 Calling exit ...