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.006929/0.006929, allocations: 104.7 kB / 15.71 MB, free: 6.027 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.00178/0.00178, allocations: 198.2 kB / 16.64 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.3 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.09033/0.09033, allocations: 22.32 MB / 312.8 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 75.88 kB / 437 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1235, allocations: 54.94 MB / 492 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004003/0.1275, allocations: 3.199 MB / 495.2 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1293, allocations: 0.9002 MB / 496.1 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.1295, allocations: 7.938 kB / 496.1 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.1298, allocations: 67.36 kB / 496.1 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.1301, allocations: 170.7 kB / 496.3 MB, free: 384 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.1307, allocations: 195.6 kB / 496.5 MB, free: 188 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007128/0.1315, allocations: 0.7522 MB / 497.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005532/0.132, allocations: 433.8 kB / 497.7 MB, free: 15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003593/0.1324, allocations: 307.1 kB / 498 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.1329, allocations: 398.6 kB / 498.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.133, allocations: 76 kB / 498.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1331, allocations: 80 kB / 498.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.1334, allocations: 195.5 kB / 498.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.1337, allocations: 338.5 kB / 499 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007263/0.1344, allocations: 0.7982 MB / 499.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1344, allocations: 0 / 499.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1344, allocations: 0 / 499.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.1344, allocations: 0 / 499.8 MB, free: 12.83 MB / 382.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.001969/0.1364, allocations: 0.9081 MB / 0.489 GB, free: 11.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1365, allocations: 8.031 kB / 0.489 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.1366, allocations: 60.28 kB / 0.4891 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.1372, allocations: 392.1 kB / 0.4894 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.1373, allocations: 105 kB / 0.4895 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.1374, allocations: 56.38 kB / 0.4896 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.139, allocations: 0.6935 MB / 0.4903 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.139, allocations: 4 kB / 0.4903 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.534e-05/0.1391, allocations: 20 kB / 0.4903 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.1391, allocations: 12 kB / 0.4903 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.1405, allocations: 0.5933 MB / 0.4909 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00537/0.1459, allocations: 2.574 MB / 0.4934 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.1471, allocations: 0.5308 MB / 0.4939 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008368/0.148, allocations: 397.5 kB / 0.4943 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.148, allocations: 16.84 kB / 0.4943 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.1481, allocations: 38.94 kB / 0.4943 GB, free: 6.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.886e-06/0.1481, allocations: 0 / 0.4943 GB, free: 6.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.005796/0.1539, allocations: 2.156 MB / 0.4965 GB, free: 4.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.154, allocations: 63.84 kB / 0.4965 GB, free: 3.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.1544, allocations: 361.6 kB / 0.4969 GB, free: 3.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.1545, allocations: 37.7 kB / 0.4969 GB, free: 3.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1547, allocations: 228.4 kB / 0.4971 GB, free: 3.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.1548, allocations: 177.4 kB / 0.4973 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.155, allocations: 94.14 kB / 0.4974 GB, free: 3.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1552, allocations: 358.8 kB / 0.4977 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008575/0.1561, allocations: 370.7 kB / 0.4981 GB, free: 2.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008617/0.1569, allocations: 412 kB / 0.4985 GB, free: 1.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2697/0.4266, allocations: 1.971 MB / 0.5004 GB, free: 22.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.4267, allocations: 0 / 0.5004 GB, free: 22.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002099/0.4288, allocations: 0.8462 MB / 0.5012 GB, free: 22.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.4288, allocations: 5.438 kB / 0.5012 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4288, allocations: 3.312 kB / 0.5012 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.4289, allocations: 3.094 kB / 0.5012 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005796/0.4347, allocations: 0.894 MB / 0.5021 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.4347, allocations: 5.359 kB / 0.5021 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/0.4353, allocations: 59.38 kB / 0.5022 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.4354, allocations: 22.27 kB / 0.5022 GB, free: 22.05 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.0003518/0.4357, allocations: 199.6 kB / 0.5024 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.4359, allocations: 51.84 kB / 0.5024 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.4379, allocations: 0.8176 MB / 0.5032 GB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.4379, allocations: 5.828 kB / 0.5032 GB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4379, allocations: 0 / 0.5032 GB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4379, allocations: 5.062 kB / 0.5032 GB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/0.4412, allocations: 1.731 MB / 0.5049 GB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4412, allocations: 0 / 0.5049 GB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006023/0.4473, allocations: 0.8884 MB / 0.5058 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.828e-05/0.4473, allocations: 3.125 kB / 0.5058 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.4474, allocations: 21.11 kB / 0.5058 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.4474, allocations: 1.125 kB / 0.5058 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4474, allocations: 6.016 kB / 0.5058 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/0.4502, allocations: 1.247 MB / 0.507 GB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.4504, allocations: 117.5 kB / 0.5071 GB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.783e-05/0.4505, allocations: 16.84 kB / 0.5072 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.451, allocations: 52.16 kB / 0.5072 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.4512, allocations: 69.78 kB / 0.5073 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.4513, allocations: 21.08 kB / 0.5073 GB, free: 21.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002738/0.4516, allocations: 261.4 kB / 0.5075 GB, free: 21.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4516, allocations: 2.625 kB / 0.5075 GB, free: 21.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005365/0.4521, allocations: 142.2 kB / 0.5077 GB, free: 21.15 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.0001482/0.4523, allocations: 111.5 kB / 0.5078 GB, free: 21.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.4542, allocations: 0.7786 MB / 0.5085 GB, free: 21.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4542, allocations: 5.344 kB / 0.5086 GB, free: 21.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008951/0.4551, allocations: 406.8 kB / 0.5089 GB, free: 21.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.4558, allocations: 99.73 kB / 0.509 GB, free: 21.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/0.4599, allocations: 1.849 MB / 0.5108 GB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.4603, allocations: 0.8586 MB / 0.5117 GB, free: 19.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004963/0.4608, allocations: 96.28 kB / 0.5118 GB, free: 19.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.461, allocations: 52 kB / 0.5118 GB, free: 19.59 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.461, allocations: 1.344 kB / 0.5118 GB, free: 19.59 MB / 382.1 MB Notification: Performance of Templates: time 0.01639/0.4774, allocations: 8.275 MB / 0.5199 GB, free: 17.2 MB / 382.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)