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.001049/0.001049, allocations: 87.56 kB / 20.97 MB, free: 3.586 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.001018/0.001018, allocations: 177 kB / 24.27 MB, free: 284 kB / 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.985/0.985, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.06434/0.06434, allocations: 18.14 MB / 279.2 MB, free: 11.39 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 2.214e-06/2.214e-06, allocations: 0 / 357.3 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.963e-05, allocations: 4.984 kB / 357.3 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004394/0.004423, allocations: 3.188 MB / 360.5 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.006196, allocations: 0.9234 MB / 361.4 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.006391, allocations: 7.938 kB / 361.4 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.00661, allocations: 75.3 kB / 361.5 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.006975, allocations: 178.5 kB / 361.6 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.007533, allocations: 195.6 kB / 361.8 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007373/0.008271, allocations: 0.7638 MB / 362.6 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.0088, allocations: 378.2 kB / 363 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.009224, allocations: 307.3 kB / 363.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.009703, allocations: 319.2 kB / 363.6 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.009818, allocations: 76 kB / 363.6 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.00993, allocations: 79.94 kB / 363.7 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.01012, allocations: 215.5 kB / 363.9 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.01037, allocations: 259.4 kB / 364.2 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.01085, allocations: 0.5451 MB / 364.7 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.01085, allocations: 0 / 364.7 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01085, allocations: 0 / 364.7 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.01086, allocations: 0 / 364.7 MB, free: 0.6797 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001083/0.01194, allocations: 0.9362 MB / 365.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.01197, allocations: 8.922 kB / 365.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.01211, allocations: 112.6 kB / 365.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.01247, allocations: 328.1 kB / 366.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.711e-05/0.01256, allocations: 101 kB / 366.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.01263, allocations: 64.25 kB / 366.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.01323, allocations: 0.4911 MB / 366.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.01325, allocations: 4.188 kB / 366.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.01329, allocations: 24.12 kB / 366.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.0133, allocations: 12 kB / 366.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.01375, allocations: 285.8 kB / 367.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.01638, allocations: 1.98 MB / 369.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.01683, allocations: 324.2 kB / 369.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.01712, allocations: 204.4 kB / 369.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.01716, allocations: 12.31 kB / 369.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.01718, allocations: 45.14 kB / 369.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 1.773e-06/0.01718, allocations: 0 / 369.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.002193/0.01937, allocations: 1.319 MB / 370.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.01941, allocations: 55.91 kB / 371 MB, free: 10.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.01965, allocations: 318.3 kB / 371.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.01968, allocations: 33.7 kB / 371.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.0198, allocations: 287.9 kB / 371.6 MB, free: 9.535 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.01991, allocations: 194.8 kB / 371.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.02004, allocations: 104 kB / 371.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.02017, allocations: 0.5235 MB / 372.4 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.02042, allocations: 182.2 kB / 372.6 MB, free: 8.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.0207, allocations: 260.5 kB / 372.9 MB, free: 8.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007377/0.02144, allocations: 0.5291 MB / 373.4 MB, free: 7.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.02144, allocations: 0 / 373.4 MB, free: 7.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006524/0.0221, allocations: 0.5012 MB / 373.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.02211, allocations: 11.94 kB / 373.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.02212, allocations: 0 / 373.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.02213, allocations: 4 kB / 373.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.0243, allocations: 0.6322 MB / 374.6 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.02431, allocations: 4 kB / 374.6 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.0245, allocations: 35.97 kB / 374.6 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.02453, allocations: 23.98 kB / 374.6 MB, free: 6.453 MB / 298.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.0002059/0.02474, allocations: 212.1 kB / 374.8 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.02482, allocations: 59.7 kB / 374.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006354/0.02546, allocations: 0.5053 MB / 375.4 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.02546, allocations: 7.938 kB / 375.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.02547, allocations: 0 / 375.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.02547, allocations: 3.984 kB / 375.4 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.02691, allocations: 1.24 MB / 376.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02691, allocations: 0 / 376.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/0.02946, allocations: 0.6127 MB / 377.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.02947, allocations: 0 / 377.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.149e-05/0.02956, allocations: 19.98 kB / 377.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.02957, allocations: 4 kB / 377.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.02957, allocations: 144 / 377.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.03062, allocations: 0.8076 MB / 378.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.03069, allocations: 35.75 kB / 378.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.276e-05/0.03075, allocations: 20 kB / 378.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.03098, allocations: 31.91 kB / 378.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.03112, allocations: 80.34 kB / 378.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.03115, allocations: 16 kB / 378.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.0313, allocations: 223 kB / 378.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.0313, allocations: 4 kB / 378.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003735/0.03167, allocations: 147.9 kB / 378.6 MB, free: 2.332 MB / 298.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.0001739/0.03185, allocations: 115.1 kB / 378.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006468/0.03249, allocations: 435.4 kB / 379.2 MB, free: 1.785 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.03249, allocations: 4.125 kB / 379.2 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.03277, allocations: 239.4 kB / 379.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.03314, allocations: 105.1 kB / 379.5 MB, free: 1.441 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.03559, allocations: 1.492 MB / 381 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.0357, allocations: 133.9 kB / 381.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.03593, allocations: 71.28 kB / 381.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.03611, allocations: 52.47 kB / 381.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.03611, allocations: 0 / 381.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of Templates: time 0.009525/0.04563, allocations: 7.811 MB / 389.1 MB, free: 7.906 MB / 314.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=240 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1992805330082774]