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.001192/0.001192, allocations: 108.3 kB / 15.99 MB, free: 6.371 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.001187/0.001187, allocations: 194.9 kB / 16.91 MB, free: 6.199 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.175/1.175, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08427/0.08427, allocations: 22.33 MB / 313.1 MB, free: 9.156 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 61.28 kB / 380.9 MB, free: 41.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06922/0.07043, allocations: 54.95 MB / 435.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002672/0.07312, allocations: 1.977 MB / 437.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003889/0.07353, allocations: 191.4 kB / 438 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/0.07361, allocations: 0 / 438 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.398e-05/0.07368, allocations: 7.922 kB / 438 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.07381, allocations: 51.61 kB / 438.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.07397, allocations: 51.94 kB / 438.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.07419, allocations: 227.2 kB / 438.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.0744, allocations: 105 kB / 438.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.0745, allocations: 91.81 kB / 438.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.07465, allocations: 115.6 kB / 438.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.07469, allocations: 20 kB / 438.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.469e-05/0.07473, allocations: 24 kB / 438.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.07478, allocations: 43.89 kB / 438.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.795e-05/0.07486, allocations: 95.62 kB / 438.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.07501, allocations: 171.8 kB / 439 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.07502, allocations: 0 / 439 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.07502, allocations: 0 / 439 MB, free: 10.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.07503, allocations: 0 / 439 MB, free: 10.39 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.0007209/0.07576, allocations: 470.9 kB / 439.5 MB, free: 9.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.0758, allocations: 12.03 kB / 439.5 MB, free: 9.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.07586, allocations: 16.75 kB / 439.5 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.076, allocations: 200.6 kB / 439.7 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.32e-05/0.0761, allocations: 54.44 kB / 439.7 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.07615, allocations: 12.12 kB / 439.8 MB, free: 9.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.07688, allocations: 294.7 kB / 440 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.0769, allocations: 4 kB / 440 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.07693, allocations: 11.88 kB / 440.1 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.07694, allocations: 3.938 kB / 440.1 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006665/0.07761, allocations: 231.8 kB / 440.3 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.07932, allocations: 0.942 MB / 441.2 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.07963, allocations: 268.6 kB / 441.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.0797, allocations: 44.84 kB / 441.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.07972, allocations: 0 / 441.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.07974, allocations: 34.56 kB / 441.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 9.12e-07/0.07975, allocations: 0 / 441.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001511/0.08126, allocations: 0.6266 MB / 442.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.0813, allocations: 55.62 kB / 442.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.08145, allocations: 191.1 kB / 442.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.08147, allocations: 33.64 kB / 442.5 MB, free: 6.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.08154, allocations: 123.9 kB / 442.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.08158, allocations: 51.25 kB / 442.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.08164, allocations: 45.61 kB / 442.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.08174, allocations: 326.8 kB / 443 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/0.08182, allocations: 39.98 kB / 443 MB, free: 6.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-05/0.08191, allocations: 89.98 kB / 443.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007633/0.08268, allocations: 311 kB / 443.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.08269, allocations: 0 / 443.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002536/0.08295, allocations: 193.2 kB / 443.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.08297, allocations: 8 kB / 443.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.08298, allocations: 3.938 kB / 443.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.083, allocations: 4.188 kB / 443.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.08322, allocations: 55.97 kB / 443.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.08324, allocations: 4 kB / 443.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.767e-05/0.08333, allocations: 11.88 kB / 443.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.08335, allocations: 11.98 kB / 443.7 MB, free: 5.312 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.0001704/0.08352, allocations: 144.3 kB / 443.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.08356, allocations: 15.81 kB / 443.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.08361, allocations: 21.53 kB / 443.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.08362, allocations: 4 kB / 443.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.08363, allocations: 0 / 443.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.08364, allocations: 7.922 kB / 443.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.08423, allocations: 0.4915 MB / 444.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.08425, allocations: 0 / 444.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.08446, allocations: 39.92 kB / 444.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.08448, allocations: 11.92 kB / 444.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.0845, allocations: 7.938 kB / 444.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.0845, allocations: 3.984 kB / 444.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.08451, allocations: 0 / 444.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.0848, allocations: 292.1 kB / 444.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.08486, allocations: 92.86 kB / 444.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.08489, allocations: 4.047 kB / 444.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.085, allocations: 7.984 kB / 444.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.08503, allocations: 11.94 kB / 444.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.08504, allocations: 3.984 kB / 444.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.052e-05/0.08514, allocations: 139.2 kB / 445 MB, free: 3.926 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08514, allocations: 0 / 445 MB, free: 3.926 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000257/0.0854, allocations: 36 kB / 445 MB, free: 3.891 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 8.171e-05/0.08549, allocations: 103.2 kB / 445.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.08571, allocations: 131.8 kB / 445.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.08572, allocations: 0 / 445.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.902e-05/0.0858, allocations: 51.92 kB / 445.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.08611, allocations: 47.34 kB / 445.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007438/0.08686, allocations: 0.5654 MB / 445.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.08708, allocations: 0.7125 MB / 446.6 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.08714, allocations: 19.44 kB / 446.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.08714, allocations: 0 / 446.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of Templates: time 0.003004/0.09015, allocations: 1.888 MB / 448.6 MB, free: 324 kB / 318.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)