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.0009037/0.0009036, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.00598/0.00598, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.35 MB / 313.8 MB, free: 13.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 8 kB / 382.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3444, allocations: 55.98 MB / 438.6 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.001887/0.3464, allocations: 1.616 MB / 440.2 MB, free: 38.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003851/0.3468, allocations: 192.8 kB / 440.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.3469, allocations: 0 / 440.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.3469, allocations: 17.58 kB / 440.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.3471, allocations: 44.31 kB / 440.4 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.3472, allocations: 47.81 kB / 440.5 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.3474, allocations: 216 kB / 440.7 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.3476, allocations: 96.59 kB / 440.8 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.3477, allocations: 87.73 kB / 440.9 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.3479, allocations: 106.8 kB / 441 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.3479, allocations: 13.97 kB / 441 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.221e-05/0.348, allocations: 15.53 kB / 441 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.348, allocations: 39.69 kB / 441 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.3481, allocations: 112.9 kB / 441.2 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.3483, allocations: 201.6 kB / 441.3 MB, free: 37.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3483, allocations: 0 / 441.3 MB, free: 37.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3483, allocations: 0 / 441.3 MB, free: 37.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3484, allocations: 2.781 kB / 441.4 MB, free: 37.6 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.0006963/0.3491, allocations: 441.9 kB / 441.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3491, allocations: 18.19 kB / 441.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.3492, allocations: 24.06 kB / 441.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3493, allocations: 200.5 kB / 442 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.3494, allocations: 57.58 kB / 442.1 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.3495, allocations: 14.72 kB / 442.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008503/0.3504, allocations: 338.8 kB / 442.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.3504, allocations: 0 / 442.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.3504, allocations: 6.562 kB / 442.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3504, allocations: 6.219 kB / 442.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007443/0.3512, allocations: 274.5 kB / 442.7 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.353, allocations: 0.9809 MB / 443.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.3533, allocations: 275.1 kB / 444 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.396e-05/0.3534, allocations: 42.06 kB / 444 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.3534, allocations: 0 / 444 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.3535, allocations: 37.59 kB / 444 MB, free: 35.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.3535, allocations: 0 / 444 MB, free: 35.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001644/0.3551, allocations: 0.6349 MB / 444.7 MB, free: 35.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.3551, allocations: 54.31 kB / 444.7 MB, free: 35.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3553, allocations: 195.5 kB / 444.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.3553, allocations: 32.64 kB / 444.9 MB, free: 35.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.3554, allocations: 117.3 kB / 445.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.3554, allocations: 55.91 kB / 445.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.3555, allocations: 22.92 kB / 445.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.823e-05/0.3555, allocations: 329.1 kB / 445.5 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.3556, allocations: 44.3 kB / 445.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/0.3557, allocations: 95.92 kB / 445.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007576/0.3564, allocations: 308 kB / 445.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3565, allocations: 4 kB / 445.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002484/0.3567, allocations: 196.8 kB / 446.1 MB, free: 34.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3567, allocations: 4.781 kB / 446.1 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3567, allocations: 2.906 kB / 446.1 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3568, allocations: 2.969 kB / 446.1 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.357, allocations: 52.14 kB / 446.1 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.357, allocations: 2.625 kB / 446.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.793e-05/0.3571, allocations: 14.97 kB / 446.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3571, allocations: 5.875 kB / 446.2 MB, free: 34.27 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.0001751/0.3573, allocations: 140.7 kB / 446.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.3574, allocations: 15.62 kB / 446.3 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.3574, allocations: 27.41 kB / 446.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3574, allocations: 0 / 446.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3574, allocations: 6.906 kB / 446.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3574, allocations: 3.938 kB / 446.4 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.358, allocations: 498.9 kB / 446.8 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.358, allocations: 0 / 446.8 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.3583, allocations: 45.58 kB / 446.9 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3583, allocations: 7.969 kB / 446.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3583, allocations: 6.562 kB / 446.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3583, allocations: 3.938 kB / 446.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3583, allocations: 0 / 446.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.3586, allocations: 287.2 kB / 447.2 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.3586, allocations: 91.2 kB / 447.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3587, allocations: 11 kB / 447.3 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3588, allocations: 4 kB / 447.3 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.3588, allocations: 8.594 kB / 447.3 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.3588, allocations: 6.625 kB / 447.3 MB, free: 33.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.843e-05/0.3589, allocations: 137.9 kB / 447.4 MB, free: 33.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3589, allocations: 0 / 447.4 MB, free: 33.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.3592, allocations: 39.72 kB / 447.5 MB, free: 33.27 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.0001026/0.3593, allocations: 95.66 kB / 447.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3595, allocations: 127.2 kB / 447.7 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3596, allocations: 3.938 kB / 447.7 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-05/0.3596, allocations: 52.88 kB / 447.8 MB, free: 33.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.36, allocations: 45.31 kB / 447.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.3608, allocations: 0.6107 MB / 448.4 MB, free: 32.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.3609, allocations: 0.7171 MB / 449.1 MB, free: 31.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.232e-05/0.361, allocations: 14.41 kB / 449.1 MB, free: 31.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.3611, allocations: 19 kB / 449.2 MB, free: 31.97 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3611, allocations: 0 / 449.2 MB, free: 31.97 MB / 350.1 MB Notification: Performance of Templates: time 0.004089/0.3652, allocations: 1.694 MB / 450.9 MB, free: 31.86 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)