Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_002.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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") translateModel(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001277/0.001277, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2217/0.2217, allocations: 22.33 MB / 313.3 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002966, allocations: 8 kB / 381.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3235, allocations: 55.98 MB / 437.8 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.002503/0.326, allocations: 2.71 MB / 440.5 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3273, allocations: 0.9317 MB / 441.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.3275, allocations: 2.75 kB / 441.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.3276, allocations: 53.14 kB / 441.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.3279, allocations: 173.8 kB / 441.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.3283, allocations: 144.7 kB / 441.8 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004136/0.3287, allocations: 464.2 kB / 442.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000398/0.3291, allocations: 343.9 kB / 442.6 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.3293, allocations: 255.9 kB / 442.9 MB, free: 35.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.3296, allocations: 324.6 kB / 443.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.113e-05/0.3297, allocations: 47.66 kB / 443.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.988e-05/0.3298, allocations: 45.31 kB / 443.3 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.3299, allocations: 164.8 kB / 443.4 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.33, allocations: 125.1 kB / 443.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.3304, allocations: 0.5797 MB / 444.1 MB, free: 35.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3304, allocations: 0 / 444.1 MB, free: 35.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3304, allocations: 0 / 444.1 MB, free: 35.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.3305, allocations: 0 / 444.1 MB, free: 35.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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001458/0.3319, allocations: 0.8138 MB / 444.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.332, allocations: 9.219 kB / 444.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.3321, allocations: 62.34 kB / 445 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.3325, allocations: 375.6 kB / 445.4 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.3327, allocations: 113.3 kB / 445.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.901e-05/0.3328, allocations: 48.75 kB / 445.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.3342, allocations: 0.7276 MB / 446.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.3342, allocations: 3.938 kB / 446.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.3343, allocations: 22.22 kB / 446.3 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.3343, allocations: 11.5 kB / 446.3 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.3357, allocations: 0.6387 MB / 446.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004631/0.3403, allocations: 2.688 MB / 449.6 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.3414, allocations: 0.5765 MB / 450.2 MB, free: 32.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.3414, allocations: 5.406 kB / 450.2 MB, free: 32.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.3414, allocations: 37.34 kB / 450.2 MB, free: 32.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.595e-06/0.3415, allocations: 0 / 450.2 MB, free: 32.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.005504/0.347, allocations: 2.34 MB / 452.6 MB, free: 31.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.347, allocations: 65.31 kB / 452.6 MB, free: 31.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.3474, allocations: 351.6 kB / 453 MB, free: 31.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.3475, allocations: 36.64 kB / 453 MB, free: 31.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.3476, allocations: 231.3 kB / 453.3 MB, free: 30.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.3478, allocations: 180.1 kB / 453.4 MB, free: 30.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.3478, allocations: 8 kB / 453.4 MB, free: 30.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.348, allocations: 356.9 kB / 453.8 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000826/0.3488, allocations: 398.6 kB / 454.2 MB, free: 30.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008185/0.3496, allocations: 445.9 kB / 454.6 MB, free: 30.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/0.3505, allocations: 387.3 kB / 455 MB, free: 30.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3505, allocations: 1 kB / 455 MB, free: 30.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001857/0.3524, allocations: 0.9107 MB / 455.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3524, allocations: 5.625 kB / 455.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3524, allocations: 1.25 kB / 455.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3524, allocations: 4.625 kB / 455.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006014/0.3584, allocations: 1.195 MB / 457.1 MB, free: 29.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.3585, allocations: 4.094 kB / 457.1 MB, free: 29.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.3591, allocations: 73.91 kB / 457.2 MB, free: 29.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/0.3592, allocations: 24.41 kB / 457.2 MB, free: 29.61 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" 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: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004208/0.3596, allocations: 197 kB / 457.4 MB, free: 29.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.3597, allocations: 44.78 kB / 457.4 MB, free: 29.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.3622, allocations: 0.8838 MB / 458.3 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.3622, allocations: 6.219 kB / 458.3 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3622, allocations: 7.953 kB / 458.3 MB, free: 29.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.3622, allocations: 3 kB / 458.3 MB, free: 29.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004758/0.367, allocations: 1.822 MB / 460.2 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.367, allocations: 5.062 kB / 460.2 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006547/0.3736, allocations: 1.177 MB / 461.3 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.247e-05/0.3736, allocations: 1.594 kB / 461.3 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.3737, allocations: 17.06 kB / 461.4 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.3738, allocations: 2.5 kB / 461.4 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.3738, allocations: 6.141 kB / 461.4 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/0.377, allocations: 1.372 MB / 462.7 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3772, allocations: 114.5 kB / 462.9 MB, free: 27.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-05/0.3773, allocations: 14.08 kB / 462.9 MB, free: 27.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005395/0.3778, allocations: 73.05 kB / 462.9 MB, free: 27.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.378, allocations: 75.44 kB / 463 MB, free: 27.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.3781, allocations: 18.36 kB / 463 MB, free: 27.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003163/0.3784, allocations: 252.2 kB / 463.3 MB, free: 27.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3784, allocations: 1.281 kB / 463.3 MB, free: 27.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005501/0.379, allocations: 143.9 kB / 463.4 MB, free: 27.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (stank.lcold,stank.Thot,stank.Tcold,H.Tfo,H.Ec,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.3792, allocations: 114.2 kB / 463.5 MB, free: 27.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002197/0.3814, allocations: 0.845 MB / 464.4 MB, free: 26.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3814, allocations: 1.562 kB / 464.4 MB, free: 26.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.3824, allocations: 448.6 kB / 464.8 MB, free: 26.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005529/0.383, allocations: 95.14 kB / 464.9 MB, free: 26.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005844/0.3888, allocations: 2.212 MB / 467.1 MB, free: 25.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.3894, allocations: 0.863 MB / 468 MB, free: 24.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005882/0.39, allocations: 95.64 kB / 468.1 MB, free: 24.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.3903, allocations: 47.8 kB / 468.1 MB, free: 24.78 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3903, allocations: 0 / 468.1 MB, free: 24.78 MB / 350.1 MB Notification: Performance of Templates: time 0.01722/0.4075, allocations: 7.229 MB / 475.4 MB, free: 22.95 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_stank_002.makefile Environment - environmentSimulation: (rm -f AES_AES.Devel_test_models.Test_stank_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_002.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_002.sim & ./AES_AES.Devel_test_models.Test_stank_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1) Environment - environmentSimulation: