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.00124/0.00124, allocations: 107 kB / 16.36 MB, free: 6.336 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.001428/0.001428, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09069/0.09069, allocations: 22.33 MB / 313.5 MB, free: 8.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 62.77 kB / 382.2 MB, free: 41.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.116, allocations: 54.97 MB / 437.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.003521/0.1196, allocations: 1.821 MB / 439 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005399/0.1201, allocations: 183.5 kB / 439.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1203, allocations: 0 / 439.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.006e-05/0.1203, allocations: 23.72 kB / 439.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.1205, allocations: 51.56 kB / 439.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.1207, allocations: 59.91 kB / 439.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.121, allocations: 231.1 kB / 439.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.1212, allocations: 101 kB / 439.7 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.1213, allocations: 99.75 kB / 439.8 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1215, allocations: 111.6 kB / 439.9 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.1215, allocations: 20 kB / 439.9 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.495e-05/0.1216, allocations: 24 kB / 439.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.1216, allocations: 43.89 kB / 439.9 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.401e-05/0.1217, allocations: 91.64 kB / 440 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1219, allocations: 211.3 kB / 440.2 MB, free: 9.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1219, allocations: 0 / 440.2 MB, free: 9.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1219, allocations: 4 kB / 440.2 MB, free: 9.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.122, allocations: 4 kB / 440.2 MB, free: 9.195 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007554/0.1227, allocations: 473 kB / 440.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1228, allocations: 11.97 kB / 440.7 MB, free: 8.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.1228, allocations: 28.69 kB / 440.8 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.123, allocations: 196.6 kB / 440.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.831e-05/0.1231, allocations: 50.44 kB / 441 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.1231, allocations: 16.12 kB / 441 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.1239, allocations: 302.1 kB / 441.3 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.1239, allocations: 0 / 441.3 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.1239, allocations: 4 kB / 441.3 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.1239, allocations: 4 kB / 441.3 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008068/0.1247, allocations: 223.8 kB / 441.5 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.1269, allocations: 0.9458 MB / 442.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.1272, allocations: 260.7 kB / 442.7 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.1273, allocations: 44.84 kB / 442.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.1273, allocations: 0 / 442.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1274, allocations: 38.56 kB / 442.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.1274, allocations: 3.938 kB / 442.8 MB, free: 6.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001594/0.129, allocations: 0.6359 MB / 443.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.129, allocations: 51.41 kB / 443.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.1292, allocations: 191.4 kB / 443.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1292, allocations: 29.7 kB / 443.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.1293, allocations: 115.9 kB / 443.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.1294, allocations: 55.25 kB / 443.9 MB, free: 5.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.1294, allocations: 37.62 kB / 443.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1295, allocations: 334.8 kB / 444.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.1296, allocations: 47.92 kB / 444.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1297, allocations: 96.38 kB / 444.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007739/0.1305, allocations: 300.1 kB / 444.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.1305, allocations: 7.984 kB / 444.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002603/0.1308, allocations: 193.2 kB / 444.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1308, allocations: 6.656 kB / 444.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1308, allocations: 4.188 kB / 444.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1309, allocations: 4 kB / 444.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.1311, allocations: 55.91 kB / 444.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1311, allocations: 0 / 444.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.1312, allocations: 11.94 kB / 445 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1312, allocations: 8 kB / 445 MB, free: 4.117 MB / 318.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.0001622/0.1314, allocations: 157.8 kB / 445.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.1314, allocations: 15.81 kB / 445.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.1315, allocations: 25.52 kB / 445.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1315, allocations: 0 / 445.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1315, allocations: 0 / 445.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1315, allocations: 3.938 kB / 445.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006272/0.1322, allocations: 495.2 kB / 445.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1322, allocations: 0 / 445.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.1324, allocations: 43.97 kB / 445.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1324, allocations: 3.938 kB / 445.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1324, allocations: 4 kB / 445.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1324, allocations: 7.938 kB / 445.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1324, allocations: 0 / 445.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.1328, allocations: 288.1 kB / 446 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.1328, allocations: 100.9 kB / 446.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.1329, allocations: 4 kB / 446.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.133, allocations: 4 kB / 446.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.133, allocations: 7.984 kB / 446.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.133, allocations: 4 kB / 446.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.1331, allocations: 140.3 kB / 446.2 MB, free: 2.734 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1331, allocations: 0 / 446.2 MB, free: 2.734 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1334, allocations: 36 kB / 446.3 MB, free: 2.699 MB / 318.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.338e-05/0.1335, allocations: 107.2 kB / 446.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1337, allocations: 119.9 kB / 446.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1337, allocations: 0 / 446.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.1338, allocations: 55.92 kB / 446.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1341, allocations: 48.16 kB / 446.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.1349, allocations: 0.505 MB / 447.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1352, allocations: 0.7125 MB / 447.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.243e-05/0.1352, allocations: 25.53 kB / 447.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.1353, allocations: 15.44 kB / 447.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1353, allocations: 0 / 447.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of Templates: time 0.004279/0.1396, allocations: 1.822 MB / 449.7 MB, free: 15.25 MB / 334.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 -s gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)