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.001325/0.001326, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001504/0.001505, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2183/0.2183, allocations: 22.36 MB / 312.4 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 60.09 kB / 380.3 MB, free: 11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.259, allocations: 54.95 MB / 435.2 MB, free: 39.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002488/0.2616, allocations: 1.957 MB / 437.2 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003753/0.262, allocations: 192.9 kB / 437.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.262, allocations: 0 / 437.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.614e-05/0.2621, allocations: 10.12 kB / 437.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.2622, allocations: 51.88 kB / 437.5 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.2624, allocations: 51.58 kB / 437.5 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.2626, allocations: 221.9 kB / 437.7 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.2628, allocations: 117.7 kB / 437.8 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.696e-05/0.2629, allocations: 94.31 kB / 437.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.263, allocations: 110.9 kB / 438 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.263, allocations: 22.91 kB / 438.1 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.319e-05/0.2631, allocations: 22.88 kB / 438.1 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.2631, allocations: 45.97 kB / 438.1 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.248e-05/0.2632, allocations: 91.81 kB / 438.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.2634, allocations: 217 kB / 438.4 MB, free: 37.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2634, allocations: 0 / 438.4 MB, free: 37.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2634, allocations: 2.562 kB / 438.4 MB, free: 37.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2634, allocations: 0 / 438.4 MB, free: 37.67 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.000704/0.2641, allocations: 476.5 kB / 438.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2642, allocations: 8.344 kB / 438.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.2642, allocations: 19.03 kB / 438.9 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2644, allocations: 205.1 kB / 439.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-05/0.2645, allocations: 50.25 kB / 439.2 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.2645, allocations: 15.5 kB / 439.2 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.2653, allocations: 292.6 kB / 439.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2653, allocations: 0 / 439.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.2653, allocations: 6.875 kB / 439.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.2653, allocations: 3.875 kB / 439.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.266, allocations: 229.4 kB / 439.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.2677, allocations: 0.9543 MB / 440.7 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.268, allocations: 274.1 kB / 440.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.2681, allocations: 42.5 kB / 441 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.2681, allocations: 0 / 441 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.2682, allocations: 36.66 kB / 441 MB, free: 35.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.2682, allocations: 0 / 441 MB, free: 35.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001657/0.2698, allocations: 0.6412 MB / 441.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.2699, allocations: 55.41 kB / 441.7 MB, free: 35.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.2701, allocations: 190 kB / 441.9 MB, free: 35.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2701, allocations: 25.7 kB / 441.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.2702, allocations: 121.1 kB / 442 MB, free: 35.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.2702, allocations: 55.84 kB / 442.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.2703, allocations: 39.56 kB / 442.1 MB, free: 35.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.2703, allocations: 329 kB / 442.4 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.57e-05/0.2704, allocations: 39.39 kB / 442.5 MB, free: 34.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.2705, allocations: 95.27 kB / 442.6 MB, free: 34.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007013/0.2712, allocations: 316 kB / 442.9 MB, free: 34.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2712, allocations: 0 / 442.9 MB, free: 34.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002273/0.2715, allocations: 187.3 kB / 443.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2715, allocations: 5.812 kB / 443.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2715, allocations: 4.156 kB / 443.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2715, allocations: 4 kB / 443.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.2717, allocations: 59.19 kB / 443.1 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2718, allocations: 2.938 kB / 443.1 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.395e-05/0.2719, allocations: 10.91 kB / 443.2 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2719, allocations: 9.484 kB / 443.2 MB, free: 34.34 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.0002077/0.2721, allocations: 148.8 kB / 443.3 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.2721, allocations: 15.97 kB / 443.3 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.2722, allocations: 23.11 kB / 443.3 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2722, allocations: 2.938 kB / 443.3 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2722, allocations: 3.938 kB / 443.4 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2722, allocations: 3.938 kB / 443.4 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.2728, allocations: 0.4894 MB / 443.8 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2728, allocations: 0 / 443.8 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.273, allocations: 43.78 kB / 443.9 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.273, allocations: 3.938 kB / 443.9 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.273, allocations: 6.938 kB / 443.9 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.273, allocations: 0 / 443.9 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.273, allocations: 0 / 443.9 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.2733, allocations: 288.8 kB / 444.2 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.2733, allocations: 98.7 kB / 444.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.2734, allocations: 15.2 kB / 444.3 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2735, allocations: 7.969 kB / 444.3 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.2735, allocations: 6.344 kB / 444.3 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.2735, allocations: 2.812 kB / 444.3 MB, free: 33.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.403e-05/0.2736, allocations: 140.8 kB / 444.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2736, allocations: 0 / 444.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.2739, allocations: 35.53 kB / 444.5 MB, free: 33.33 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 0.0001037/0.274, allocations: 101.5 kB / 444.6 MB, free: 33.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.2743, allocations: 128.7 kB / 444.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2743, allocations: 0 / 444.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.298e-05/0.2743, allocations: 51.72 kB / 444.8 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.2747, allocations: 43.56 kB / 444.8 MB, free: 33.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007135/0.2754, allocations: 0.5353 MB / 445.3 MB, free: 32.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.2755, allocations: 0.7102 MB / 446 MB, free: 32.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.248e-05/0.2756, allocations: 25.3 kB / 446.1 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.2756, allocations: 16.25 kB / 446.1 MB, free: 32.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2756, allocations: 0 / 446.1 MB, free: 32.05 MB / 350.1 MB Notification: Performance of Templates: time 0.003999/0.2796, allocations: 1.811 MB / 447.9 MB, free: 31.93 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)