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.001181/0.001181, allocations: 104.1 kB / 15.99 MB, free: 6.348 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.001272/0.001272, allocations: 194.9 kB / 16.91 MB, free: 6.188 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.192/1.192, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08593/0.08593, allocations: 22.32 MB / 313.1 MB, free: 9.137 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 65.06 kB / 380.9 MB, free: 41.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06906/0.07021, allocations: 54.96 MB / 435.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.00375/0.07399, allocations: 3.449 MB / 439.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.07523, allocations: 0.9274 MB / 440.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.07537, allocations: 4 kB / 440.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.07553, allocations: 51.59 kB / 440.3 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.07581, allocations: 151 kB / 440.4 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.0762, allocations: 163.8 kB / 440.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.07676, allocations: 0.7407 MB / 441.3 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004453/0.07721, allocations: 433.8 kB / 441.8 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.07748, allocations: 307.1 kB / 442.1 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.07788, allocations: 406.6 kB / 442.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.07797, allocations: 76 kB / 442.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.733e-05/0.07808, allocations: 80 kB / 442.6 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.07822, allocations: 195.5 kB / 442.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.07848, allocations: 342.5 kB / 443.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004312/0.07892, allocations: 0.6042 MB / 443.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.07893, allocations: 0 / 443.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.07894, allocations: 0 / 443.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.07895, allocations: 0 / 443.7 MB, free: 5.613 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.001636/0.08059, allocations: 0.9043 MB / 444.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.08063, allocations: 16.03 kB / 444.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.08075, allocations: 60.28 kB / 444.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.08119, allocations: 392.1 kB / 445.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.08133, allocations: 109 kB / 445.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.264e-05/0.08143, allocations: 48.38 kB / 445.3 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.08282, allocations: 0.6895 MB / 446 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.08285, allocations: 0 / 446 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/0.08291, allocations: 20 kB / 446 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.08293, allocations: 12 kB / 446 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.08421, allocations: 0.605 MB / 446.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004555/0.08877, allocations: 2.586 MB / 449.2 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.08982, allocations: 0.527 MB / 449.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007729/0.0906, allocations: 397.4 kB / 450.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.938e-05/0.09066, allocations: 16.91 kB / 450.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.09069, allocations: 34.94 kB / 450.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.583e-06/0.0907, allocations: 0 / 450.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.005015/0.09572, allocations: 2.171 MB / 452.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.09576, allocations: 55.84 kB / 452.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.09609, allocations: 353.7 kB / 452.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.09615, allocations: 37.7 kB / 452.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.09627, allocations: 228.4 kB / 453 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.09641, allocations: 185.3 kB / 453.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.09659, allocations: 94.23 kB / 453.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.09671, allocations: 358.8 kB / 453.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007621/0.09748, allocations: 362.3 kB / 453.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007674/0.09825, allocations: 412 kB / 454.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006105/0.1044, allocations: 1.983 MB / 456.3 MB, free: 8.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1044, allocations: 0 / 456.3 MB, free: 8.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001706/0.1061, allocations: 0.8459 MB / 457.2 MB, free: 7.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1061, allocations: 16.02 kB / 457.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1061, allocations: 3.938 kB / 457.2 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1062, allocations: 7.938 kB / 457.2 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005223/0.1114, allocations: 0.8934 MB / 458.1 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1114, allocations: 4 kB / 458.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.1119, allocations: 63.86 kB / 458.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.112, allocations: 20 kB / 458.2 MB, free: 6.816 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.0002816/0.1122, allocations: 197.7 kB / 458.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.12e-05/0.1123, allocations: 51.38 kB / 458.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.1141, allocations: 0.821 MB / 459.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.1141, allocations: 4 kB / 459.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1141, allocations: 0 / 459.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1141, allocations: 7.922 kB / 459.3 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/0.1171, allocations: 1.736 MB / 461 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1171, allocations: 4 kB / 461 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005615/0.1228, allocations: 0.8855 MB / 461.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/0.1228, allocations: 4 kB / 461.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.827e-05/0.1229, allocations: 15.98 kB / 461.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.1229, allocations: 4 kB / 461.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1229, allocations: 0 / 461.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.1253, allocations: 1.249 MB / 463.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.1254, allocations: 116.6 kB / 463.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.1255, allocations: 12 kB / 463.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.126, allocations: 59.92 kB / 463.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.1261, allocations: 68.33 kB / 463.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.1262, allocations: 12 kB / 463.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.1264, allocations: 267.1 kB / 463.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1264, allocations: 0 / 463.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004243/0.1269, allocations: 144 kB / 463.8 MB, free: 1.066 MB / 334.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.0001324/0.127, allocations: 115.2 kB / 463.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.1288, allocations: 0.8334 MB / 464.8 MB, free: 116 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1288, allocations: 0 / 464.8 MB, free: 116 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008276/0.1296, allocations: 406.5 kB / 465.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.1301, allocations: 105.5 kB / 465.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.1341, allocations: 2.091 MB / 467.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.1344, allocations: 0.8471 MB / 468.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.1347, allocations: 55.41 kB / 468.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1347, allocations: 4 kB / 468.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of Templates: time 0.009391/0.1441, allocations: 7.269 MB / 475.5 MB, free: 5.312 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 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1)