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.001162/0.001162, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2593/0.2593, allocations: 22.34 MB / 312.7 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 59.91 kB / 380.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3292, allocations: 54.95 MB / 435.8 MB, free: 39.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002514/0.3318, allocations: 1.815 MB / 437.6 MB, free: 38.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003687/0.3321, allocations: 180.4 kB / 437.8 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.587e-05/0.3322, allocations: 6.625 kB / 437.8 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.161e-05/0.3323, allocations: 11.3 kB / 437.8 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.3324, allocations: 51.12 kB / 437.8 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.3326, allocations: 55.64 kB / 437.9 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.3328, allocations: 237.3 kB / 438.1 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.333, allocations: 102.8 kB / 438.2 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.085e-05/0.3331, allocations: 98.5 kB / 438.3 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.3332, allocations: 112.8 kB / 438.4 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.3333, allocations: 24.81 kB / 438.4 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.818e-05/0.3333, allocations: 23.25 kB / 438.5 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.3334, allocations: 47.39 kB / 438.5 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.3334, allocations: 91.34 kB / 438.6 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.3336, allocations: 208.1 kB / 438.8 MB, free: 37.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3336, allocations: 3.938 kB / 438.8 MB, free: 37.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3336, allocations: 0 / 438.8 MB, free: 37.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.3337, allocations: 0 / 438.8 MB, free: 37.72 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.0007471/0.3344, allocations: 475.7 kB / 439.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.3345, allocations: 10.31 kB / 439.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.3345, allocations: 22.22 kB / 439.3 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.3346, allocations: 199.4 kB / 439.5 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.462e-05/0.3347, allocations: 52.19 kB / 439.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.3348, allocations: 17.94 kB / 439.6 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007358/0.3355, allocations: 296.5 kB / 439.9 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3356, allocations: 4 kB / 439.9 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.3356, allocations: 4 kB / 439.9 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3356, allocations: 6.969 kB / 439.9 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006509/0.3363, allocations: 228 kB / 440.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.3379, allocations: 0.9548 MB / 441 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.3381, allocations: 257.2 kB / 441.3 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.3382, allocations: 45.14 kB / 441.3 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.3382, allocations: 0 / 441.3 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.3383, allocations: 45.59 kB / 441.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.3383, allocations: 0 / 441.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001593/0.3399, allocations: 0.6304 MB / 442 MB, free: 35.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.3399, allocations: 59.41 kB / 442.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.34, allocations: 188.5 kB / 442.3 MB, free: 35.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3401, allocations: 29.27 kB / 442.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.3401, allocations: 118.6 kB / 442.4 MB, free: 35.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.3401, allocations: 59.02 kB / 442.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.3402, allocations: 31.47 kB / 442.5 MB, free: 35.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.866e-05/0.3403, allocations: 334.5 kB / 442.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.616e-05/0.3403, allocations: 40.67 kB / 442.9 MB, free: 34.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.3404, allocations: 97.47 kB / 443 MB, free: 34.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007313/0.3412, allocations: 306.4 kB / 443.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3412, allocations: 6.531 kB / 443.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002212/0.3414, allocations: 195.4 kB / 443.4 MB, free: 34.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3414, allocations: 11.16 kB / 443.5 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3414, allocations: 0 / 443.5 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3414, allocations: 2.969 kB / 443.5 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.3417, allocations: 56.97 kB / 443.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.3417, allocations: 2.844 kB / 443.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.475e-05/0.3418, allocations: 10.84 kB / 443.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3418, allocations: 5.656 kB / 443.5 MB, free: 34.39 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.0002115/0.342, allocations: 149.9 kB / 443.7 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.342, allocations: 13.34 kB / 443.7 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.3421, allocations: 25.84 kB / 443.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3421, allocations: 0 / 443.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3421, allocations: 3.438 kB / 443.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3421, allocations: 7.938 kB / 443.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.3426, allocations: 496 kB / 444.2 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3427, allocations: 0 / 444.2 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.3429, allocations: 39.7 kB / 444.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3429, allocations: 3.938 kB / 444.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3429, allocations: 6.625 kB / 444.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3429, allocations: 0 / 444.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3429, allocations: 7.188 kB / 444.3 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.3431, allocations: 288.3 kB / 444.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.3432, allocations: 95.8 kB / 444.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.3432, allocations: 6.219 kB / 444.7 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.3433, allocations: 4 kB / 444.7 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.3434, allocations: 9.031 kB / 444.7 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.3434, allocations: 10.78 kB / 444.7 MB, free: 33.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.707e-05/0.3434, allocations: 146.4 kB / 444.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3435, allocations: 0 / 444.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.3437, allocations: 34.59 kB / 444.9 MB, free: 33.38 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 9.034e-05/0.3438, allocations: 105.7 kB / 445 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.344, allocations: 131.6 kB / 445.1 MB, free: 33.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.344, allocations: 384 / 445.1 MB, free: 33.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.001e-05/0.3441, allocations: 52.83 kB / 445.1 MB, free: 33.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.3444, allocations: 37.73 kB / 445.2 MB, free: 33.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/0.3451, allocations: 0.491 MB / 445.7 MB, free: 32.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.3453, allocations: 0.7151 MB / 446.4 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.389e-05/0.3453, allocations: 24.45 kB / 446.4 MB, free: 32.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.3454, allocations: 20.19 kB / 446.4 MB, free: 32.13 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3454, allocations: 0 / 446.4 MB, free: 32.13 MB / 350.1 MB Notification: Performance of Templates: time 0.003806/0.3492, allocations: 1.821 MB / 448.2 MB, free: 32 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)