Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_001.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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_001") translateModel(AES.Devel_test_models.Test_stank_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006253/0.006253, allocations: 102 kB / 15.73 MB, free: 6.039 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.001203/0.001204, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.368/1.368, allocations: 222.9 MB / 240.4 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.09586/0.09586, allocations: 22.33 MB / 312.9 MB, free: 8.859 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 63.89 kB / 437 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1436, allocations: 54.95 MB / 492 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.003011/0.1467, allocations: 1.823 MB / 493.8 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000553/0.1472, allocations: 179.4 kB / 494 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.142e-05/0.1473, allocations: 4 kB / 494 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.604e-05/0.1474, allocations: 19.84 kB / 494 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.1476, allocations: 47.56 kB / 494.1 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.1478, allocations: 67.84 kB / 494.1 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.148, allocations: 231.2 kB / 494.3 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.1482, allocations: 112.9 kB / 494.5 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.262e-05/0.1483, allocations: 91.81 kB / 494.5 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.1485, allocations: 111.6 kB / 494.7 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.1486, allocations: 20 kB / 494.7 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.404e-05/0.1486, allocations: 24 kB / 494.7 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.1487, allocations: 51.81 kB / 494.8 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.781e-05/0.1488, allocations: 83.66 kB / 494.8 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.149, allocations: 223.3 kB / 495.1 MB, free: 1.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.149, allocations: 3.938 kB / 495.1 MB, free: 1.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.149, allocations: 0 / 495.1 MB, free: 1.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.149, allocations: 0 / 495.1 MB, free: 1.656 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008687/0.1499, allocations: 482.9 kB / 495.5 MB, free: 1.133 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1499, allocations: 8.031 kB / 495.5 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.15, allocations: 16.75 kB / 495.6 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.1502, allocations: 199.4 kB / 495.7 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.1503, allocations: 54.44 kB / 495.8 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.1504, allocations: 12.12 kB / 495.8 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.1513, allocations: 299.1 kB / 496.1 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-06/0.1513, allocations: 0 / 496.1 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.1513, allocations: 0 / 496.1 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1514, allocations: 4 kB / 496.1 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/0.1521, allocations: 227.7 kB / 496.3 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.1541, allocations: 0.9536 MB / 497.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.1545, allocations: 268.6 kB / 497.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.583e-05/0.1545, allocations: 44.84 kB / 497.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.1546, allocations: 0 / 497.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1546, allocations: 38.56 kB / 497.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.1546, allocations: 0 / 497.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001721/0.1563, allocations: 0.6318 MB / 498.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.1564, allocations: 51.41 kB / 498.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.1565, allocations: 187.5 kB / 498.5 MB, free: 13.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.1566, allocations: 33.7 kB / 498.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.1567, allocations: 119.8 kB / 498.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.1568, allocations: 55.19 kB / 498.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.1568, allocations: 41.72 kB / 498.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.157, allocations: 330.8 kB / 499.1 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.1571, allocations: 39.98 kB / 499.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1572, allocations: 89.98 kB / 499.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008201/0.158, allocations: 303.7 kB / 499.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1581, allocations: 4 kB / 499.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002869/0.1583, allocations: 193.4 kB / 499.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1584, allocations: 5.719 kB / 499.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1584, allocations: 0 / 499.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1584, allocations: 4 kB / 499.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.1586, allocations: 59.91 kB / 499.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1587, allocations: 0 / 499.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1588, allocations: 11.84 kB / 499.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1588, allocations: 12 kB / 499.8 MB, free: 12.57 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0001744/0.159, allocations: 150.9 kB / 499.9 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.159, allocations: 15.81 kB / 499.9 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.1591, allocations: 25.52 kB / 500 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.1591, allocations: 0 / 500 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1591, allocations: 0 / 500 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1591, allocations: 3.938 kB / 500 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008197/0.1599, allocations: 0.4914 MB / 0.4887 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1599, allocations: 0 / 0.4887 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.1602, allocations: 47.91 kB / 0.4888 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.1602, allocations: 3.938 kB / 0.4888 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1602, allocations: 4 kB / 0.4888 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1602, allocations: 4 kB / 0.4888 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1602, allocations: 3.938 kB / 0.4888 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.1605, allocations: 283.2 kB / 0.4891 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.1606, allocations: 96.89 kB / 0.4891 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.1607, allocations: 4 kB / 0.4891 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1608, allocations: 4 kB / 0.4892 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.1608, allocations: 15.92 kB / 0.4892 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1608, allocations: 4 kB / 0.4892 GB, free: 11.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1609, allocations: 140.3 kB / 0.4893 GB, free: 11.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1609, allocations: 0 / 0.4893 GB, free: 11.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.1612, allocations: 36 kB / 0.4893 GB, free: 11.15 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (stank.lcold,stank.Thot,stank.Tcold) * 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 (15): * Single equations (assignments): 15 * 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 9.662e-05/0.1613, allocations: 95.23 kB / 0.4894 GB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.1616, allocations: 137.8 kB / 0.4896 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1616, allocations: 0 / 0.4896 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.1617, allocations: 56.3 kB / 0.4896 GB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.162, allocations: 44.02 kB / 0.4897 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008674/0.1629, allocations: 0.4897 MB / 0.4901 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1632, allocations: 0.7202 MB / 0.4908 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.278e-05/0.1633, allocations: 21.53 kB / 0.4909 GB, free: 9.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.1633, allocations: 15.44 kB / 0.4909 GB, free: 9.523 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1633, allocations: 0 / 0.4909 GB, free: 9.523 MB / 382.1 MB Notification: Performance of Templates: time 0.004901/0.1682, allocations: 1.898 MB / 0.4927 GB, free: 7.645 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_stank_001.makefile (rm -f AES_AES.Devel_test_models.Test_stank_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_001.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_001.sim & ./AES_AES.Devel_test_models.Test_stank_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)