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.009303/0.009303, allocations: 101.6 kB / 15.73 MB, free: 6.477 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.001643/0.001643, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2302/0.2302, allocations: 22.37 MB / 312.9 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 64.75 kB / 437.1 MB, free: 33.85 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.145, allocations: 54.96 MB / 492 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004302/0.1494, allocations: 3.21 MB / 495.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1513, allocations: 0.8963 MB / 496.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.1515, allocations: 7.938 kB / 496.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.1517, allocations: 67.3 kB / 496.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000371/0.1521, allocations: 166.7 kB / 496.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.1528, allocations: 199.6 kB / 496.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008075/0.1536, allocations: 0.7406 MB / 497.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006045/0.1542, allocations: 445.7 kB / 497.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.1546, allocations: 311 kB / 498.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005105/0.1551, allocations: 390.8 kB / 498.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.1552, allocations: 76 kB / 498.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1553, allocations: 76 kB / 498.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.1555, allocations: 207.4 kB / 498.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.1559, allocations: 342.5 kB / 499.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007375/0.1566, allocations: 0.7866 MB / 499.9 MB, free: 9.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1566, allocations: 0 / 499.9 MB, free: 9.266 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1566, allocations: 0 / 499.9 MB, free: 9.266 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1567, allocations: 0 / 499.9 MB, free: 9.266 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001915/0.1586, allocations: 0.9082 MB / 0.4891 GB, free: 8.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1586, allocations: 12.03 kB / 0.4891 GB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.1588, allocations: 68.19 kB / 0.4892 GB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006065/0.1594, allocations: 384.2 kB / 0.4895 GB, free: 7.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.1595, allocations: 105 kB / 0.4896 GB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.1597, allocations: 52.28 kB / 0.4897 GB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.1611, allocations: 0.6897 MB / 0.4904 GB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.1612, allocations: 0 / 0.4904 GB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-05/0.1612, allocations: 23.98 kB / 0.4904 GB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1613, allocations: 15.94 kB / 0.4904 GB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.1626, allocations: 0.5972 MB / 0.491 GB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/0.1676, allocations: 2.574 MB / 0.4935 GB, free: 3.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1687, allocations: 0.527 MB / 0.494 GB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008145/0.1696, allocations: 404.4 kB / 0.4944 GB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.439e-05/0.1696, allocations: 8.906 kB / 0.4944 GB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1697, allocations: 38.94 kB / 0.4944 GB, free: 2.691 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.264e-06/0.1697, allocations: 0 / 0.4944 GB, free: 2.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.005364/0.175, allocations: 2.161 MB / 0.4965 GB, free: 492 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1751, allocations: 55.84 kB / 0.4966 GB, free: 424 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.1755, allocations: 365.6 kB / 0.4969 GB, free: 48 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/0.1755, allocations: 33.7 kB / 0.497 GB, free: 8 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.1757, allocations: 228.4 kB / 0.4972 GB, free: 15.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.1759, allocations: 177.4 kB / 0.4974 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.176, allocations: 98.23 kB / 0.4975 GB, free: 15.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1762, allocations: 358.8 kB / 0.4978 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000791/0.177, allocations: 358.7 kB / 0.4981 GB, free: 14.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008185/0.1778, allocations: 415.9 kB / 0.4985 GB, free: 14.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006109/0.1839, allocations: 1.989 MB / 0.5005 GB, free: 12.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.184, allocations: 0 / 0.5005 GB, free: 12.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001776/0.1857, allocations: 0.842 MB / 0.5013 GB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1858, allocations: 4 kB / 0.5013 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.1858, allocations: 7.938 kB / 0.5013 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1858, allocations: 4 kB / 0.5013 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005316/0.1911, allocations: 0.8973 MB / 0.5022 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.1912, allocations: 7.984 kB / 0.5022 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.1917, allocations: 55.88 kB / 0.5023 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.1918, allocations: 19.98 kB / 0.5023 GB, free: 10.5 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real 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 H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003894/0.1922, allocations: 208.4 kB / 0.5025 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.924e-05/0.1923, allocations: 43.47 kB / 0.5025 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.1941, allocations: 0.821 MB / 0.5033 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.1941, allocations: 7.984 kB / 0.5033 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1941, allocations: 0 / 0.5033 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1941, allocations: 0 / 0.5033 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.1974, allocations: 1.743 MB / 0.505 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1974, allocations: 3.938 kB / 0.505 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005286/0.2027, allocations: 0.8856 MB / 0.5059 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.2027, allocations: 0 / 0.5059 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.655e-05/0.2028, allocations: 19.98 kB / 0.5059 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.2028, allocations: 0 / 0.5059 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.2028, allocations: 3.984 kB / 0.5059 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.2055, allocations: 1.25 MB / 0.5071 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.2057, allocations: 120.5 kB / 0.5073 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.2058, allocations: 15.98 kB / 0.5073 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.2063, allocations: 51.94 kB / 0.5073 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.2065, allocations: 72.33 kB / 0.5074 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.2066, allocations: 19.98 kB / 0.5074 GB, free: 5.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002758/0.2069, allocations: 259.1 kB / 0.5077 GB, free: 4.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2069, allocations: 0 / 0.5077 GB, free: 4.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005095/0.2074, allocations: 144 kB / 0.5078 GB, free: 4.734 MB / 382.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 (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.0001694/0.2076, allocations: 111.2 kB / 0.5079 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.2093, allocations: 0.7788 MB / 0.5087 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2094, allocations: 0 / 0.5087 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008493/0.2102, allocations: 414.5 kB / 0.5091 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.211, allocations: 109.5 kB / 0.5092 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.2151, allocations: 1.844 MB / 0.511 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.2155, allocations: 0.8548 MB / 0.5118 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003809/0.2159, allocations: 92.33 kB / 0.5119 GB, free: 488 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.2161, allocations: 47.42 kB / 0.5119 GB, free: 440 kB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2161, allocations: 4 kB / 0.5119 GB, free: 436 kB / 382.1 MB Notification: Performance of Templates: time 0.01329/0.2294, allocations: 8.369 MB / 0.5201 GB, free: 8.125 MB / 398.1 MB make -j1 -f AES_AES.Devel_test_models.Test_stank_002.makefile (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)