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.001139/0.001139, allocations: 106 kB / 16.35 MB, free: 5.824 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.001032/0.001032, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09241/0.09241, allocations: 22.32 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 66.38 kB / 382.2 MB, free: 41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09202, allocations: 54.96 MB / 437.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004071/0.09612, allocations: 3.196 MB / 440.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.09763, allocations: 0.9041 MB / 441.3 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.09779, allocations: 4 kB / 441.3 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.09798, allocations: 67.3 kB / 441.4 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.0983, allocations: 170.6 kB / 441.5 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.09879, allocations: 199.6 kB / 441.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006224/0.09942, allocations: 0.7445 MB / 442.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005639/0.09999, allocations: 441.8 kB / 442.9 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.1003, allocations: 303.1 kB / 443.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004692/0.1008, allocations: 390.7 kB / 443.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.1009, allocations: 80 kB / 443.7 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.101, allocations: 76 kB / 443.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.1012, allocations: 211.4 kB / 443.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.1016, allocations: 338.5 kB / 444.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007278/0.1023, allocations: 0.7904 MB / 445.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1023, allocations: 0 / 445.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1023, allocations: 0 / 445.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.1024, allocations: 4 kB / 445.1 MB, free: 4.324 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.001941/0.1043, allocations: 0.9026 MB / 446 MB, free: 3.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1044, allocations: 12.03 kB / 446 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.1045, allocations: 60.28 kB / 446 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.105, allocations: 392.1 kB / 446.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.1052, allocations: 109 kB / 446.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.656e-05/0.1053, allocations: 48.38 kB / 446.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.1067, allocations: 0.6935 MB / 447.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1067, allocations: 0 / 447.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.1068, allocations: 20 kB / 447.3 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1068, allocations: 12 kB / 447.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.1082, allocations: 0.5972 MB / 447.9 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004964/0.1132, allocations: 2.574 MB / 450.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.1142, allocations: 0.5367 MB / 451 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007967/0.115, allocations: 405 kB / 451.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.078e-05/0.1151, allocations: 8.906 kB / 451.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1151, allocations: 38.94 kB / 451.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.854e-06/0.1151, allocations: 0 / 451.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.005279/0.1204, allocations: 2.165 MB / 453.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.1205, allocations: 55.84 kB / 453.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.1208, allocations: 365.6 kB / 454 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.1209, allocations: 29.7 kB / 454.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.121, allocations: 228.4 kB / 454.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.1212, allocations: 185.3 kB / 454.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.1214, allocations: 94.23 kB / 454.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1215, allocations: 362.8 kB / 454.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007707/0.1223, allocations: 362.7 kB / 455.3 MB, free: 9.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/0.1231, allocations: 419.9 kB / 455.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006223/0.1294, allocations: 1.966 MB / 457.6 MB, free: 7.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1294, allocations: 0 / 457.6 MB, free: 7.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001796/0.1312, allocations: 0.8495 MB / 458.5 MB, free: 6.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1312, allocations: 8.188 kB / 458.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1312, allocations: 4 kB / 458.5 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1312, allocations: 4 kB / 458.5 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00545/0.1367, allocations: 0.8934 MB / 459.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.1367, allocations: 11.92 kB / 459.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.1372, allocations: 51.94 kB / 459.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/0.1373, allocations: 19.98 kB / 459.5 MB, free: 5.562 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.0003259/0.1376, allocations: 208 kB / 459.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.1377, allocations: 47.38 kB / 459.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.1395, allocations: 0.821 MB / 460.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1396, allocations: 7.984 kB / 460.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1396, allocations: 0 / 460.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1396, allocations: 0 / 460.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.1428, allocations: 1.74 MB / 462.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1428, allocations: 0 / 462.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005359/0.1482, allocations: 0.8817 MB / 463.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.1482, allocations: 4 kB / 463.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/0.1483, allocations: 19.98 kB / 463.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.1483, allocations: 3.938 kB / 463.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1483, allocations: 0 / 463.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.1508, allocations: 1.251 MB / 464.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.151, allocations: 120.5 kB / 464.6 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/0.1511, allocations: 11.98 kB / 464.6 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.1516, allocations: 51.94 kB / 464.6 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.1517, allocations: 76.33 kB / 464.7 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.1518, allocations: 15.98 kB / 464.7 MB, free: 204 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003134/0.1521, allocations: 267.1 kB / 465 MB, free: 15.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1521, allocations: 0 / 465 MB, free: 15.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004834/0.1526, allocations: 140 kB / 465.1 MB, free: 15.8 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.0001733/0.1528, allocations: 111.2 kB / 465.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.1545, allocations: 0.7827 MB / 466 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1545, allocations: 0 / 466 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008272/0.1553, allocations: 402.7 kB / 466.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.1559, allocations: 113.3 kB / 466.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.1599, allocations: 1.852 MB / 468.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.1603, allocations: 0.8471 MB / 469.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003748/0.1607, allocations: 96.31 kB / 469.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.1609, allocations: 51.42 kB / 469.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1609, allocations: 0 / 469.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Templates: time 0.0132/0.1742, allocations: 8.273 MB / 477.6 MB, free: 3.281 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 cvode -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1)