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.001191/0.001191, allocations: 110.1 kB / 16.41 MB, free: 6.492 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.001163/0.001163, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09217/0.09217, allocations: 22.33 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.91 kB / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09382/0.09518, allocations: 54.95 MB / 492.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.003321/0.09855, allocations: 1.816 MB / 494.5 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000584/0.09917, allocations: 187.4 kB / 494.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.09931, allocations: 4 kB / 494.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.943e-05/0.09943, allocations: 11.86 kB / 494.7 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.09963, allocations: 51.53 kB / 494.7 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.09986, allocations: 67.84 kB / 494.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.1002, allocations: 227.2 kB / 495 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.1005, allocations: 113 kB / 495.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1007, allocations: 95.75 kB / 495.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.1009, allocations: 107.6 kB / 495.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.101, allocations: 24 kB / 495.4 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.628e-05/0.101, allocations: 24 kB / 495.4 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.1011, allocations: 51.81 kB / 495.4 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.977e-05/0.1012, allocations: 87.59 kB / 495.5 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.1014, allocations: 219.3 kB / 495.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1015, allocations: 0 / 495.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1015, allocations: 3.938 kB / 495.7 MB, free: 1.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1015, allocations: 4 kB / 495.7 MB, free: 1.656 MB / 366.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.0009412/0.1024, allocations: 470.9 kB / 496.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1025, allocations: 16.03 kB / 496.2 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.785e-05/0.1026, allocations: 16.75 kB / 496.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.1028, allocations: 196.6 kB / 496.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.1029, allocations: 58.44 kB / 496.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.103, allocations: 12.12 kB / 496.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/0.1038, allocations: 295.1 kB / 496.8 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1039, allocations: 0 / 496.8 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.1039, allocations: 4 kB / 496.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1039, allocations: 4 kB / 496.8 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007436/0.1047, allocations: 231.7 kB / 497 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.1067, allocations: 0.9459 MB / 498 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.107, allocations: 272.6 kB / 498.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/0.1071, allocations: 40.84 kB / 498.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.1071, allocations: 4 kB / 498.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1072, allocations: 34.56 kB / 498.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.482e-06/0.1072, allocations: 0 / 498.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001763/0.109, allocations: 0.6357 MB / 498.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.109, allocations: 51.41 kB / 499 MB, free: 14.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.1092, allocations: 187.5 kB / 499.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1092, allocations: 29.7 kB / 499.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.1093, allocations: 127.8 kB / 499.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.1094, allocations: 55.2 kB / 499.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.1094, allocations: 37.7 kB / 499.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1096, allocations: 330.8 kB / 499.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.577e-05/0.1096, allocations: 39.98 kB / 499.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1098, allocations: 91.61 kB / 499.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008116/0.1106, allocations: 304.2 kB / 0.4884 GB, free: 12.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1106, allocations: 0 / 0.4884 GB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000289/0.1109, allocations: 189.3 kB / 0.4886 GB, free: 12.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1109, allocations: 8.188 kB / 0.4886 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1109, allocations: 4 kB / 0.4886 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1109, allocations: 4 kB / 0.4886 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.1112, allocations: 59.91 kB / 0.4887 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1112, allocations: 0 / 0.4887 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1113, allocations: 15.78 kB / 0.4887 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1114, allocations: 8 kB / 0.4887 GB, free: 12.57 MB / 382.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.0002738/0.1116, allocations: 151.5 kB / 0.4889 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.1117, allocations: 15.81 kB / 0.4889 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.1117, allocations: 21.53 kB / 0.4889 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1118, allocations: 3.984 kB / 0.4889 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1118, allocations: 0 / 0.4889 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1118, allocations: 3.938 kB / 0.4889 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006876/0.1125, allocations: 0.4914 MB / 0.4894 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1125, allocations: 0 / 0.4894 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.1127, allocations: 43.91 kB / 0.4894 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1127, allocations: 7.938 kB / 0.4894 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1127, allocations: 8 kB / 0.4894 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1128, allocations: 4 kB / 0.4895 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1128, allocations: 0 / 0.4895 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.1131, allocations: 280.2 kB / 0.4897 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.1132, allocations: 92.91 kB / 0.4898 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.1132, allocations: 7.984 kB / 0.4898 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1133, allocations: 4 kB / 0.4898 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.1134, allocations: 19.92 kB / 0.4898 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1134, allocations: 4 kB / 0.4898 GB, free: 11.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1135, allocations: 136.3 kB / 0.49 GB, free: 11.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1135, allocations: 0 / 0.49 GB, free: 11.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1138, allocations: 36 kB / 0.49 GB, free: 11.16 MB / 382.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.0001132/0.1139, allocations: 99.25 kB / 0.4901 GB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.1141, allocations: 127.8 kB / 0.4902 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1142, allocations: 0 / 0.4902 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.1142, allocations: 55.92 kB / 0.4903 GB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1146, allocations: 32.36 kB / 0.4903 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008637/0.1155, allocations: 0.5266 MB / 0.4908 GB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1158, allocations: 0.7201 MB / 0.4915 GB, free: 9.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.1158, allocations: 23.44 kB / 0.4915 GB, free: 9.508 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1158, allocations: 0 / 0.4915 GB, free: 9.508 MB / 382.1 MB Notification: Performance of Templates: time 0.003779/0.1196, allocations: 1.885 MB / 0.4934 GB, free: 7.629 MB / 382.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)