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.001694/0.001694, allocations: 111.8 kB / 15.79 MB, free: 5.527 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.001763/0.001763, allocations: 198.8 kB / 16.72 MB, free: 5.426 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.512/1.512, allocations: 225.6 MB / 243.1 MB, free: 3.723 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0986/0.0986, allocations: 22.68 MB / 318.7 MB, free: 9.859 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.91 kB / 449 MB, free: 39.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1116, allocations: 58.02 MB / 0.4951 GB, free: 8.793 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.003193/0.1148, allocations: 3.221 MB / 0.4982 GB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1162, allocations: 0.9118 MB / 0.4991 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.1163, allocations: 7.938 kB / 0.4991 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.1165, allocations: 67.36 kB / 0.4992 GB, free: 4.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.1168, allocations: 182.7 kB / 0.4994 GB, free: 4.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.1172, allocations: 191.6 kB / 0.4996 GB, free: 4.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.1177, allocations: 0.7406 MB / 0.5003 GB, free: 3.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003977/0.1181, allocations: 385.7 kB / 0.5006 GB, free: 3.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.1183, allocations: 311.1 kB / 0.5009 GB, free: 2.766 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.1187, allocations: 394.7 kB / 0.5013 GB, free: 2.379 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.871e-05/0.1187, allocations: 76 kB / 0.5014 GB, free: 2.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1188, allocations: 76 kB / 0.5015 GB, free: 2.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.119, allocations: 203.4 kB / 0.5017 GB, free: 2.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.1192, allocations: 338.5 kB / 0.502 GB, free: 1.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005226/0.1198, allocations: 0.7939 MB / 0.5028 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1198, allocations: 0 / 0.5028 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1198, allocations: 0 / 0.5028 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.1198, allocations: 0 / 0.5028 GB, free: 0.9023 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.001656/0.1214, allocations: 0.9232 MB / 0.5037 GB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1215, allocations: 12.03 kB / 0.5037 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.1216, allocations: 64.56 kB / 0.5037 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/0.1222, allocations: 388.3 kB / 0.5041 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.1224, allocations: 105 kB / 0.5042 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.1225, allocations: 60.33 kB / 0.5043 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.1241, allocations: 0.6779 MB / 0.5049 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.1242, allocations: 0 / 0.5049 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.593e-05/0.1242, allocations: 24 kB / 0.5049 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.1243, allocations: 12 kB / 0.505 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.1258, allocations: 0.6011 MB / 0.5055 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00562/0.1314, allocations: 2.575 MB / 0.5081 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.1325, allocations: 0.5191 MB / 0.5086 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008918/0.1334, allocations: 384.6 kB / 0.5089 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.553e-05/0.1335, allocations: 20.91 kB / 0.509 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1335, allocations: 30.94 kB / 0.509 GB, free: 10.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.816e-06/0.1335, allocations: 0 / 0.509 GB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.005775/0.1393, allocations: 2.169 MB / 0.5111 GB, free: 8.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.1393, allocations: 63.78 kB / 0.5112 GB, free: 8.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000454/0.1398, allocations: 353.7 kB / 0.5115 GB, free: 7.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.1399, allocations: 33.7 kB / 0.5115 GB, free: 7.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.14, allocations: 236.7 kB / 0.5118 GB, free: 7.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.1402, allocations: 190.3 kB / 0.5119 GB, free: 7.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.1404, allocations: 98.23 kB / 0.512 GB, free: 7.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.1406, allocations: 350.8 kB / 0.5124 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008979/0.1415, allocations: 370.7 kB / 0.5127 GB, free: 6.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008885/0.1424, allocations: 408 kB / 0.5131 GB, free: 5.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006597/0.149, allocations: 1.981 MB / 0.515 GB, free: 3.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.149, allocations: 3.938 kB / 0.515 GB, free: 3.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001991/0.151, allocations: 0.846 MB / 0.5159 GB, free: 3.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.151, allocations: 4 kB / 0.5159 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.151, allocations: 4 kB / 0.5159 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.1511, allocations: 4 kB / 0.5159 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005349/0.1564, allocations: 0.8935 MB / 0.5168 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/0.1564, allocations: 4 kB / 0.5168 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.157, allocations: 67.92 kB / 0.5168 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.556e-05/0.157, allocations: 20 kB / 0.5168 GB, free: 2.129 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.0003662/0.1574, allocations: 204.8 kB / 0.517 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.1575, allocations: 51.64 kB / 0.5171 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.1595, allocations: 0.8094 MB / 0.5179 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.1595, allocations: 8 kB / 0.5179 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.1595, allocations: 3.938 kB / 0.5179 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1595, allocations: 7.984 kB / 0.5179 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/0.1632, allocations: 1.744 MB / 0.5196 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1632, allocations: 0 / 0.5196 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005428/0.1686, allocations: 0.8817 MB / 0.5205 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.1687, allocations: 4 kB / 0.5205 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.028e-05/0.1687, allocations: 15.98 kB / 0.5205 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.1687, allocations: 4 kB / 0.5205 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1687, allocations: 4 kB / 0.5205 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/0.1717, allocations: 1.251 MB / 0.5217 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.1719, allocations: 120.8 kB / 0.5218 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.874e-05/0.172, allocations: 12 kB / 0.5218 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.1725, allocations: 55.92 kB / 0.5219 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.1727, allocations: 68.33 kB / 0.522 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/0.1728, allocations: 16 kB / 0.522 GB, free: 12.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003452/0.1731, allocations: 267.1 kB / 0.5222 GB, free: 12.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1731, allocations: 0 / 0.5222 GB, free: 12.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005713/0.1737, allocations: 144 kB / 0.5224 GB, free: 12.36 MB / 398.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.0002103/0.1739, allocations: 111.3 kB / 0.5225 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.1758, allocations: 0.732 MB / 0.5232 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1758, allocations: 4.062 kB / 0.5232 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009023/0.1767, allocations: 394.2 kB / 0.5236 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.1773, allocations: 113.5 kB / 0.5237 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.182, allocations: 1.862 MB / 0.5255 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.1827, allocations: 0.8548 MB / 0.5263 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005126/0.1832, allocations: 92.33 kB / 0.5264 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.1835, allocations: 55.41 kB / 0.5265 GB, free: 8.09 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.1835, allocations: 0 / 0.5265 GB, free: 8.09 MB / 398.1 MB Notification: Performance of Templates: time 0.01864/0.2022, allocations: 8.595 MB / 0.5349 GB, free: 15.56 MB / 414.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)