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.001356/0.001355, allocations: 119.1 kB / 16.37 MB, free: 6.004 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.001323/0.001323, allocations: 192.8 kB / 17.31 MB, free: 5.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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09019/0.09019, allocations: 22.33 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.67 kB / 382.2 MB, free: 41.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09509/0.09646, allocations: 54.96 MB / 437.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.003068/0.09957, allocations: 1.811 MB / 439 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004182/0.1, allocations: 183.5 kB / 439.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.1001, allocations: 4 kB / 439.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.639e-05/0.1001, allocations: 11.86 kB / 439.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.1003, allocations: 51.55 kB / 439.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.1005, allocations: 63.91 kB / 439.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.1007, allocations: 235.1 kB / 439.6 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.1009, allocations: 105 kB / 439.7 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1011, allocations: 99.75 kB / 439.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1012, allocations: 111.6 kB / 439.9 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.1013, allocations: 24 kB / 439.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-05/0.1013, allocations: 24 kB / 439.9 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.1014, allocations: 39.91 kB / 440 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.48e-05/0.1015, allocations: 91.56 kB / 440 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.1017, allocations: 219.3 kB / 440.3 MB, free: 9.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1017, allocations: 0 / 440.3 MB, free: 9.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1017, allocations: 0 / 440.3 MB, free: 9.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1017, allocations: 4 kB / 440.3 MB, free: 9.168 MB / 318.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.0008255/0.1026, allocations: 470.9 kB / 440.7 MB, free: 8.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1026, allocations: 12.03 kB / 440.7 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.1027, allocations: 20.75 kB / 440.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1029, allocations: 196.6 kB / 440.9 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.103, allocations: 54.42 kB / 441 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.1031, allocations: 12.12 kB / 441 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007614/0.1038, allocations: 300.8 kB / 441.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1038, allocations: 0 / 441.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.1039, allocations: 4 kB / 441.3 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1039, allocations: 4 kB / 441.3 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006785/0.1046, allocations: 227.8 kB / 441.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.1065, allocations: 0.9458 MB / 442.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.1068, allocations: 268.7 kB / 442.7 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.979e-05/0.1069, allocations: 40.84 kB / 442.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.1069, allocations: 3.938 kB / 442.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1069, allocations: 38.56 kB / 442.8 MB, free: 6.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.1069, allocations: 0 / 442.8 MB, free: 6.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001603/0.1086, allocations: 0.641 MB / 443.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.1086, allocations: 51.41 kB / 443.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1088, allocations: 191.4 kB / 443.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1088, allocations: 25.7 kB / 443.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.1089, allocations: 119.9 kB / 443.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.1089, allocations: 51.27 kB / 443.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.109, allocations: 41.61 kB / 443.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.1091, allocations: 334.7 kB / 444.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.1091, allocations: 43.98 kB / 444.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.1093, allocations: 94.59 kB / 444.4 MB, free: 4.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/0.11, allocations: 300.1 kB / 444.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.11, allocations: 3.938 kB / 444.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002692/0.1103, allocations: 199.7 kB / 444.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1103, allocations: 8 kB / 444.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1104, allocations: 4.188 kB / 444.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1104, allocations: 4 kB / 444.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.1106, allocations: 51.91 kB / 445 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.1107, allocations: 4 kB / 445 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.098e-05/0.1108, allocations: 11.94 kB / 445 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1108, allocations: 4 kB / 445 MB, free: 4.09 MB / 318.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.0002458/0.111, allocations: 146.8 kB / 445.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.1111, allocations: 19.75 kB / 445.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.1111, allocations: 21.53 kB / 445.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1111, allocations: 0 / 445.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1111, allocations: 0 / 445.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1111, allocations: 7.922 kB / 445.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/0.1118, allocations: 495.2 kB / 445.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1118, allocations: 0 / 445.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.112, allocations: 39.98 kB / 445.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.112, allocations: 7.938 kB / 445.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1121, allocations: 3.984 kB / 445.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1121, allocations: 0 / 445.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1121, allocations: 4 kB / 445.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.1124, allocations: 294.9 kB / 446 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.1125, allocations: 92.86 kB / 446.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.1125, allocations: 4 kB / 446.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1126, allocations: 4 kB / 446.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.1126, allocations: 8.031 kB / 446.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1127, allocations: 12.09 kB / 446.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1128, allocations: 136.3 kB / 446.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1128, allocations: 4 kB / 446.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.113, allocations: 36 kB / 446.3 MB, free: 2.676 MB / 318.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.0001003/0.1132, allocations: 107.2 kB / 446.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1134, allocations: 127.9 kB / 446.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1134, allocations: 0 / 446.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.262e-05/0.1135, allocations: 47.92 kB / 446.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.1138, allocations: 52.03 kB / 446.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007749/0.1146, allocations: 0.4947 MB / 447.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.1148, allocations: 0.7125 MB / 447.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.279e-05/0.1149, allocations: 21.53 kB / 447.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.115, allocations: 19.44 kB / 447.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.115, allocations: 0 / 447.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of Templates: time 0.004301/0.1193, allocations: 1.826 MB / 449.7 MB, free: 15.23 MB / 334.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 -s cvode -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)