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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") translateModel(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 102.6 kB / 16.37 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 195.4 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09263/0.09263, allocations: 22.33 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.001461, allocations: 66.73 kB / 382.2 MB, free: 41.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.09011, allocations: 54.96 MB / 437.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004459/0.0946, allocations: 3.202 MB / 440.4 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.09635, allocations: 0.9002 MB / 441.3 MB, free: 8.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.09666, allocations: 4 kB / 441.3 MB, free: 8.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.0969, allocations: 71.3 kB / 441.4 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.09738, allocations: 166.7 kB / 441.5 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.098, allocations: 191.7 kB / 441.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008003/0.09881, allocations: 0.7485 MB / 442.5 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006134/0.09943, allocations: 445.7 kB / 442.9 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/0.09985, allocations: 303.1 kB / 443.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.1004, allocations: 394.7 kB / 443.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.1006, allocations: 76 kB / 443.7 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.1007, allocations: 76 kB / 443.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.101, allocations: 211.4 kB / 443.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004281/0.1014, allocations: 334.5 kB / 444.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007561/0.1022, allocations: 0.7904 MB / 445.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1022, allocations: 4 kB / 445.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1022, allocations: 0 / 445.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.771e-05/0.1022, allocations: 0 / 445.1 MB, free: 4.359 MB / 318.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.002006/0.1042, allocations: 0.9043 MB / 446 MB, free: 3.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1043, allocations: 8.031 kB / 446 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.1044, allocations: 60.28 kB / 446 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.105, allocations: 392 kB / 446.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.1051, allocations: 113 kB / 446.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/0.1053, allocations: 48.38 kB / 446.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.1067, allocations: 0.6857 MB / 447.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1067, allocations: 11.94 kB / 447.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.1068, allocations: 20 kB / 447.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1068, allocations: 12 kB / 447.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.1081, allocations: 0.5933 MB / 447.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/0.113, allocations: 2.578 MB / 450.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.1141, allocations: 0.5294 MB / 451 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007757/0.1149, allocations: 401.4 kB / 451.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.167e-05/0.1149, allocations: 12.91 kB / 451.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.115, allocations: 38.94 kB / 451.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.774e-06/0.115, allocations: 0 / 451.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.00519/0.1202, allocations: 2.161 MB / 453.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1202, allocations: 55.84 kB / 453.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.1206, allocations: 361.7 kB / 454 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.1207, allocations: 37.7 kB / 454.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1208, allocations: 224.4 kB / 454.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.121, allocations: 189.2 kB / 454.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.1212, allocations: 90.23 kB / 454.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1213, allocations: 358.8 kB / 454.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007684/0.1221, allocations: 362.7 kB / 455.3 MB, free: 9.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007773/0.1229, allocations: 415.9 kB / 455.7 MB, free: 9.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006233/0.1291, allocations: 1.974 MB / 457.6 MB, free: 7.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1291, allocations: 4 kB / 457.6 MB, free: 7.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001792/0.1309, allocations: 0.8457 MB / 458.5 MB, free: 6.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.131, allocations: 8 kB / 458.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.131, allocations: 0 / 458.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.131, allocations: 4.188 kB / 458.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005528/0.1365, allocations: 0.8972 MB / 459.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.1366, allocations: 7.984 kB / 459.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.1371, allocations: 55.94 kB / 459.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/0.1372, allocations: 23.98 kB / 459.5 MB, free: 5.594 MB / 334.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (66): * Single equations (assignments): 66 * 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.0003426/0.1375, allocations: 210 kB / 459.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1376, allocations: 47.38 kB / 459.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.1395, allocations: 0.821 MB / 460.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1395, allocations: 4 kB / 460.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1395, allocations: 4 kB / 460.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1395, allocations: 3.938 kB / 460.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003401/0.143, allocations: 1.732 MB / 462.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.143, allocations: 0 / 462.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005656/0.1486, allocations: 0.8856 MB / 463.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.1487, allocations: 0 / 463.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/0.1487, allocations: 19.98 kB / 463.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1487, allocations: 0 / 463.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1488, allocations: 8 kB / 463.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.1513, allocations: 1.25 MB / 464.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1515, allocations: 116.5 kB / 464.6 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.1516, allocations: 15.98 kB / 464.6 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.1521, allocations: 47.94 kB / 464.6 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.1523, allocations: 72.33 kB / 464.7 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.1523, allocations: 23.92 kB / 464.7 MB, free: 236 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003139/0.1526, allocations: 267.2 kB / 465 MB, free: 15.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1527, allocations: 0 / 465 MB, free: 15.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005052/0.1532, allocations: 140 kB / 465.1 MB, free: 15.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (51): * Single equations (assignments): 51 * 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.0001528/0.1533, allocations: 111.4 kB / 465.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.1551, allocations: 0.7751 MB / 466 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1551, allocations: 8 kB / 466 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008517/0.156, allocations: 410.2 kB / 466.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.1566, allocations: 101.4 kB / 466.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/0.1606, allocations: 1.851 MB / 468.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.161, allocations: 0.851 MB / 469.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003622/0.1614, allocations: 92.33 kB / 469.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.1616, allocations: 51.42 kB / 469.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1617, allocations: 0 / 469.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Templates: time 0.01387/0.1755, allocations: 8.279 MB / 477.6 MB, free: 3.316 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_stank_002.makefile (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 -s gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1)