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.001204/0.00121, allocations: 104.6 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.001075/0.001076, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08918/0.08918, allocations: 22.33 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.89 kB / 437.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08637/0.08768, allocations: 54.95 MB / 492.7 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.00274/0.09046, allocations: 1.813 MB / 494.5 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004416/0.09093, allocations: 187.5 kB / 494.7 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.09101, allocations: 4 kB / 494.7 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.455e-05/0.09108, allocations: 15.8 kB / 494.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.09122, allocations: 47.61 kB / 494.7 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.09142, allocations: 63.84 kB / 494.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.09165, allocations: 231.1 kB / 495 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.09189, allocations: 109 kB / 495.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.092, allocations: 95.77 kB / 495.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.09219, allocations: 119.6 kB / 495.3 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.09223, allocations: 20 kB / 495.4 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.143e-05/0.09228, allocations: 24 kB / 495.4 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.09233, allocations: 47.88 kB / 495.4 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.03e-05/0.09241, allocations: 91.59 kB / 495.5 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.09265, allocations: 215.3 kB / 495.7 MB, free: 1.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.09266, allocations: 0 / 495.7 MB, free: 1.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09267, allocations: 0 / 495.7 MB, free: 1.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.09268, allocations: 0 / 495.7 MB, free: 1.68 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.0007855/0.09347, allocations: 486.8 kB / 496.2 MB, free: 1.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.09351, allocations: 8.031 kB / 496.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.09358, allocations: 16.75 kB / 496.2 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.09374, allocations: 199.6 kB / 496.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.09385, allocations: 54.44 kB / 496.5 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.0939, allocations: 16.12 kB / 496.5 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/0.09468, allocations: 291.1 kB / 496.8 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.0947, allocations: 3.938 kB / 496.8 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.09473, allocations: 4 kB / 496.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.09474, allocations: 4 kB / 496.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/0.09543, allocations: 227.8 kB / 497 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.09727, allocations: 0.9536 MB / 498 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.09759, allocations: 260.7 kB / 498.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.006e-05/0.09767, allocations: 44.84 kB / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.09769, allocations: 0 / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.09772, allocations: 34.56 kB / 498.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.09773, allocations: 4 kB / 498.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.00163/0.09936, allocations: 0.6339 MB / 498.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.09941, allocations: 51.41 kB / 499 MB, free: 14.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.09958, allocations: 191.5 kB / 499.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.0996, allocations: 29.7 kB / 499.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.09968, allocations: 119.8 kB / 499.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.09973, allocations: 59.19 kB / 499.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.09979, allocations: 37.7 kB / 499.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.0999, allocations: 330.8 kB / 499.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.09998, allocations: 39.98 kB / 499.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/0.1001, allocations: 89.98 kB / 499.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008021/0.1009, allocations: 308 kB / 0.4884 GB, free: 12.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1009, allocations: 8 kB / 0.4885 GB, free: 12.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002704/0.1012, allocations: 185.3 kB / 0.4886 GB, free: 12.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1012, allocations: 7.938 kB / 0.4886 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1012, allocations: 0 / 0.4886 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1012, allocations: 4 kB / 0.4886 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.1015, allocations: 60.16 kB / 0.4887 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1015, allocations: 7.922 kB / 0.4887 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.1016, allocations: 19.78 kB / 0.4887 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1016, allocations: 4 kB / 0.4887 GB, free: 12.59 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.0002009/0.1018, allocations: 153.2 kB / 0.4889 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.1019, allocations: 15.81 kB / 0.4889 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.1019, allocations: 21.53 kB / 0.4889 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1019, allocations: 0 / 0.4889 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.102, allocations: 3.984 kB / 0.4889 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.102, allocations: 3.938 kB / 0.4889 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/0.1026, allocations: 491.2 kB / 0.4894 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1026, allocations: 3.938 kB / 0.4894 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.1028, allocations: 51.94 kB / 0.4894 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1028, allocations: 3.938 kB / 0.4894 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1029, allocations: 4 kB / 0.4894 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1029, allocations: 4 kB / 0.4894 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1029, allocations: 0 / 0.4894 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.1032, allocations: 283.4 kB / 0.4897 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.1033, allocations: 96.86 kB / 0.4898 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.1033, allocations: 12.03 kB / 0.4898 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1034, allocations: 4 kB / 0.4898 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.1034, allocations: 8 kB / 0.4898 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.1034, allocations: 7.984 kB / 0.4898 GB, free: 11.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.979e-05/0.1035, allocations: 136.3 kB / 0.49 GB, free: 11.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1036, allocations: 0 / 0.49 GB, free: 11.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1038, allocations: 36 kB / 0.49 GB, free: 11.17 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 9.434e-05/0.1039, allocations: 95.25 kB / 0.4901 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.1042, allocations: 131.8 kB / 0.4902 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1042, allocations: 0 / 0.4902 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.132e-05/0.1042, allocations: 55.92 kB / 0.4903 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.1046, allocations: 38.73 kB / 0.4903 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007857/0.1054, allocations: 0.5308 MB / 0.4908 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1056, allocations: 0.7201 MB / 0.4915 GB, free: 9.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.1057, allocations: 15.44 kB / 0.4915 GB, free: 9.523 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1057, allocations: 0 / 0.4915 GB, free: 9.523 MB / 382.1 MB Notification: Performance of Templates: time 0.003368/0.1091, allocations: 1.91 MB / 0.4934 GB, free: 7.617 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)