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.001175/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001294/0.001294, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1961/0.1961, allocations: 22.35 MB / 312.3 MB, free: 12.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 71.89 kB / 380.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2727, allocations: 54.94 MB / 435 MB, free: 39.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002647/0.2754, allocations: 1.951 MB / 437 MB, free: 38.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003436/0.2757, allocations: 199.5 kB / 437.2 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.2758, allocations: 2.938 kB / 437.2 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.053e-05/0.2758, allocations: 10.55 kB / 437.2 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.276, allocations: 39.83 kB / 437.2 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.2761, allocations: 55.77 kB / 437.3 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.2763, allocations: 220.5 kB / 437.5 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.2765, allocations: 98.05 kB / 437.6 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.061e-05/0.2766, allocations: 82.61 kB / 437.7 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.2767, allocations: 107.9 kB / 437.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.2767, allocations: 17.38 kB / 437.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.731e-05/0.2768, allocations: 14.69 kB / 437.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.2768, allocations: 39.94 kB / 437.9 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.325e-05/0.2769, allocations: 87.23 kB / 438 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.2771, allocations: 203.1 kB / 438.2 MB, free: 37.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2771, allocations: 0 / 438.2 MB, free: 37.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.2771, allocations: 0 / 438.2 MB, free: 37.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2771, allocations: 0 / 438.2 MB, free: 37.88 MB / 350.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.0007451/0.2778, allocations: 479.9 kB / 438.6 MB, free: 37.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2779, allocations: 15.97 kB / 438.6 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.2779, allocations: 19.81 kB / 438.7 MB, free: 37.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2781, allocations: 204.4 kB / 438.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-05/0.2782, allocations: 53.52 kB / 438.9 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.2782, allocations: 15.5 kB / 438.9 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.279, allocations: 297.2 kB / 439.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.006e-06/0.279, allocations: 0 / 439.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.279, allocations: 7.984 kB / 439.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.279, allocations: 2.75 kB / 439.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006399/0.2797, allocations: 230.5 kB / 439.4 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.2813, allocations: 0.9528 MB / 440.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.2816, allocations: 266.5 kB / 440.7 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.2817, allocations: 39.36 kB / 440.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.2817, allocations: 0 / 440.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.2817, allocations: 37.17 kB / 440.7 MB, free: 36.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.2817, allocations: 0 / 440.7 MB, free: 36.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001632/0.2834, allocations: 0.6456 MB / 441.4 MB, free: 35.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.2834, allocations: 51.41 kB / 441.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.2836, allocations: 193.5 kB / 441.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.2836, allocations: 25.7 kB / 441.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.2837, allocations: 117 kB / 441.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.2837, allocations: 55.67 kB / 441.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.2838, allocations: 38.97 kB / 441.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.2839, allocations: 332.2 kB / 442.2 MB, free: 34.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.231e-05/0.284, allocations: 42.94 kB / 442.2 MB, free: 34.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2841, allocations: 90.66 kB / 442.3 MB, free: 34.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.2848, allocations: 306.8 kB / 442.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2849, allocations: 0 / 442.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002339/0.2851, allocations: 194.4 kB / 442.8 MB, free: 34.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.2851, allocations: 5.656 kB / 442.8 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2851, allocations: 6.031 kB / 442.8 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2852, allocations: 2.938 kB / 442.8 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.2854, allocations: 54.22 kB / 442.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2854, allocations: 6.781 kB / 442.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.2855, allocations: 10.5 kB / 442.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2855, allocations: 5.406 kB / 442.9 MB, free: 34.54 MB / 350.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.0001899/0.2857, allocations: 143.7 kB / 443 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.2857, allocations: 20.97 kB / 443 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.2858, allocations: 27.62 kB / 443.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2858, allocations: 0 / 443.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2858, allocations: 2.906 kB / 443.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2858, allocations: 3.938 kB / 443.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.2863, allocations: 499 kB / 443.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2864, allocations: 0 / 443.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.2866, allocations: 53.48 kB / 443.6 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2866, allocations: 3.938 kB / 443.6 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2866, allocations: 2.781 kB / 443.6 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2866, allocations: 0 / 443.6 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2866, allocations: 2.875 kB / 443.6 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.2869, allocations: 294.3 kB / 443.9 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.2869, allocations: 94.92 kB / 444 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.287, allocations: 6.844 kB / 444 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.2871, allocations: 4 kB / 444 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.2871, allocations: 12.86 kB / 444 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.2871, allocations: 6.719 kB / 444 MB, free: 33.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.821e-05/0.2872, allocations: 137 kB / 444.2 MB, free: 33.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2872, allocations: 0 / 444.2 MB, free: 33.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.2875, allocations: 34.84 kB / 444.2 MB, free: 33.54 MB / 350.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.518e-05/0.2876, allocations: 97.41 kB / 444.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.2878, allocations: 129.5 kB / 444.4 MB, free: 33.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2878, allocations: 0 / 444.4 MB, free: 33.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.432e-05/0.2878, allocations: 49.28 kB / 444.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.2882, allocations: 40.02 kB / 444.5 MB, free: 33.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.2889, allocations: 0.5324 MB / 445 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.289, allocations: 0.7179 MB / 445.8 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.88e-05/0.2891, allocations: 15.45 kB / 445.8 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.2891, allocations: 17.06 kB / 445.8 MB, free: 32.26 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2891, allocations: 4 kB / 445.8 MB, free: 32.25 MB / 350.1 MB Notification: Performance of Templates: time 0.003731/0.2929, allocations: 1.721 MB / 447.5 MB, free: 32.12 MB / 350.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)