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.0009416/0.0009415, allocations: 99.19 kB / 16.02 MB, free: 76 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.001062/0.001061, allocations: 186.3 kB / 16.92 MB, free: 6.75 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.314/1.314, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1902/0.1902, allocations: 22.34 MB / 314.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.000284, allocations: 12 kB / 383.3 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2325, allocations: 55.99 MB / 439.2 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.001343/0.2339, allocations: 1.606 MB / 440.8 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003196/0.2342, allocations: 194.4 kB / 441 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.2343, allocations: 2.844 kB / 441 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.2343, allocations: 11.3 kB / 441.1 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.2344, allocations: 36.25 kB / 441.1 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.2346, allocations: 51.5 kB / 441.1 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.2347, allocations: 225.6 kB / 441.4 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.2349, allocations: 95.5 kB / 441.5 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.013e-05/0.235, allocations: 83.19 kB / 441.5 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.2351, allocations: 107.1 kB / 441.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.2351, allocations: 15.03 kB / 441.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.876e-05/0.2352, allocations: 17.34 kB / 441.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.2352, allocations: 38.72 kB / 441.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.336e-05/0.2353, allocations: 111.3 kB / 441.8 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2354, allocations: 150.2 kB / 442 MB, free: 37.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2354, allocations: 2.562 kB / 442 MB, free: 37.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2354, allocations: 0 / 442 MB, free: 37.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.2354, allocations: 0 / 442 MB, free: 37.51 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.0005949/0.236, allocations: 453.4 kB / 442.4 MB, free: 37.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.2361, allocations: 12.78 kB / 442.4 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.2361, allocations: 17.75 kB / 442.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2362, allocations: 199.7 kB / 442.6 MB, free: 36.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.283e-05/0.2363, allocations: 56.03 kB / 442.7 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.2364, allocations: 17.91 kB / 442.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007962/0.2372, allocations: 338.7 kB / 443 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.2372, allocations: 3.938 kB / 443 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.2372, allocations: 7.938 kB / 443 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2373, allocations: 0 / 443 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.238, allocations: 274 kB / 443.3 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.2396, allocations: 0.9842 MB / 444.3 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.2399, allocations: 266.7 kB / 444.6 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.24, allocations: 46.34 kB / 444.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.24, allocations: 3.188 kB / 444.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.179e-05/0.24, allocations: 34.78 kB / 444.6 MB, free: 35.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.24, allocations: 3.938 kB / 444.6 MB, free: 35.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001474/0.2415, allocations: 0.6457 MB / 445.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.2415, allocations: 58.34 kB / 445.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2417, allocations: 187.1 kB / 445.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.2417, allocations: 28.55 kB / 445.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.2417, allocations: 112.8 kB / 445.7 MB, free: 34.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.2418, allocations: 59.97 kB / 445.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.2418, allocations: 23.16 kB / 445.8 MB, free: 34.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.2418, allocations: 331.9 kB / 446.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.2419, allocations: 40.89 kB / 446.1 MB, free: 34.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.693e-05/0.242, allocations: 93.5 kB / 446.2 MB, free: 34.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/0.2428, allocations: 313 kB / 446.5 MB, free: 34.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2428, allocations: 0 / 446.5 MB, free: 34.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002347/0.243, allocations: 195.9 kB / 446.7 MB, free: 34.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.243, allocations: 9.156 kB / 446.7 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.243, allocations: 3.031 kB / 446.7 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2431, allocations: 3.062 kB / 446.7 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.2433, allocations: 52.45 kB / 446.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2433, allocations: 3.125 kB / 446.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.051e-05/0.2434, allocations: 7.938 kB / 446.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2434, allocations: 10.62 kB / 446.8 MB, free: 34.18 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.0001511/0.2436, allocations: 142.2 kB / 446.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.2436, allocations: 13.84 kB / 446.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.2436, allocations: 23.94 kB / 447 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2437, allocations: 2.688 kB / 447 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2437, allocations: 4 kB / 447 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2437, allocations: 3.938 kB / 447 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.2442, allocations: 498.6 kB / 447.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2442, allocations: 2.531 kB / 447.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.2444, allocations: 45.67 kB / 447.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2444, allocations: 6.906 kB / 447.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2444, allocations: 3.938 kB / 447.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2445, allocations: 7 kB / 447.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2445, allocations: 0 / 447.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.2447, allocations: 289.2 kB / 447.8 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.2448, allocations: 94.09 kB / 447.9 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.2448, allocations: 7.938 kB / 447.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2449, allocations: 2.812 kB / 447.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.2449, allocations: 10.45 kB / 447.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.2449, allocations: 9.656 kB / 447.9 MB, free: 33.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.566e-05/0.245, allocations: 135.2 kB / 448.1 MB, free: 33.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.245, allocations: 0 / 448.1 MB, free: 33.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.2453, allocations: 39.53 kB / 448.1 MB, free: 33.18 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 6.965e-05/0.2454, allocations: 97.41 kB / 448.2 MB, free: 33.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.2456, allocations: 129.3 kB / 448.3 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2456, allocations: 4.375 kB / 448.3 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.139e-05/0.2456, allocations: 50.31 kB / 448.4 MB, free: 33.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.246, allocations: 38.41 kB / 448.4 MB, free: 33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.2466, allocations: 0.6389 MB / 449.1 MB, free: 32.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.2468, allocations: 0.7132 MB / 449.8 MB, free: 31.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.2468, allocations: 18.97 kB / 449.8 MB, free: 31.85 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2468, allocations: 0 / 449.8 MB, free: 31.85 MB / 350.1 MB Notification: Performance of Templates: time 0.00274/0.2496, allocations: 1.873 MB / 451.7 MB, free: 31.71 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)