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.001269/0.001269, allocations: 105.1 kB / 16.41 MB, free: 6.449 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.00124/0.00124, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09264/0.09264, allocations: 22.33 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.91 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.09606, allocations: 54.94 MB / 492.7 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004139/0.1002, allocations: 3.202 MB / 495.9 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.1022, allocations: 0.9002 MB / 496.8 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003071/0.1026, allocations: 4 kB / 496.8 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.1028, allocations: 67.3 kB / 496.8 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004409/0.1033, allocations: 174.7 kB / 497 MB, free: 388 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.1039, allocations: 195.6 kB / 497.2 MB, free: 192 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007402/0.1047, allocations: 0.7444 MB / 498 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000557/0.1052, allocations: 445.8 kB / 498.4 MB, free: 15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/0.1056, allocations: 315 kB / 498.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004756/0.1061, allocations: 386.7 kB / 499.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.1062, allocations: 76 kB / 499.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1063, allocations: 79.94 kB / 499.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.1065, allocations: 203.5 kB / 499.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002955/0.1068, allocations: 338.5 kB / 499.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006879/0.1075, allocations: 0.7904 MB / 0.4888 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1075, allocations: 4 kB / 0.4888 GB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1075, allocations: 0 / 0.4888 GB, free: 12.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.659e-06/0.1075, allocations: 4 kB / 0.4888 GB, 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.00193/0.1095, allocations: 0.9043 MB / 0.4897 GB, free: 11.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.1095, allocations: 8.031 kB / 0.4897 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.1096, allocations: 60.28 kB / 0.4898 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.1101, allocations: 392.1 kB / 0.4901 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.1103, allocations: 105 kB / 0.4902 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.1104, allocations: 56.3 kB / 0.4903 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.112, allocations: 0.6897 MB / 0.491 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1121, allocations: 4 kB / 0.491 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.538e-05/0.1122, allocations: 20 kB / 0.491 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.1122, allocations: 15.94 kB / 0.491 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.1136, allocations: 0.5933 MB / 0.4916 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005302/0.119, allocations: 2.567 MB / 0.4941 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.1202, allocations: 0.5269 MB / 0.4946 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008896/0.1211, allocations: 401.4 kB / 0.495 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.1211, allocations: 8.312 kB / 0.495 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1212, allocations: 42.92 kB / 0.495 GB, free: 6.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 3.146e-06/0.1212, allocations: 0 / 0.495 GB, free: 6.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.005839/0.127, allocations: 2.161 MB / 0.4971 GB, free: 4.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1271, allocations: 55.84 kB / 0.4972 GB, free: 3.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.1275, allocations: 361.6 kB / 0.4975 GB, free: 3.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.347e-05/0.1276, allocations: 41.69 kB / 0.4976 GB, free: 3.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1277, allocations: 228.4 kB / 0.4978 GB, free: 3.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.1279, allocations: 181.4 kB / 0.498 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.1281, allocations: 94.14 kB / 0.4981 GB, free: 3.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1282, allocations: 358.8 kB / 0.4984 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000848/0.1291, allocations: 362.7 kB / 0.4988 GB, free: 2.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008564/0.1299, allocations: 419.9 kB / 0.4992 GB, free: 1.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1883/0.3183, allocations: 1.974 MB / 0.5011 GB, free: 21.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3183, allocations: 1.688 kB / 0.5011 GB, free: 21.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001923/0.3203, allocations: 0.8397 MB / 0.5019 GB, free: 21.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3203, allocations: 6.812 kB / 0.5019 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3203, allocations: 2.812 kB / 0.5019 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.3203, allocations: 4 kB / 0.5019 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006073/0.3264, allocations: 0.8982 MB / 0.5028 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.3265, allocations: 8.453 kB / 0.5028 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/0.3271, allocations: 52.95 kB / 0.5029 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.3271, allocations: 19.8 kB / 0.5029 GB, free: 21.95 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.0003597/0.3275, allocations: 208.8 kB / 0.5031 GB, free: 21.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.3276, allocations: 49.52 kB / 0.5031 GB, free: 21.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.3296, allocations: 0.8184 MB / 0.5039 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3296, allocations: 7.062 kB / 0.5039 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3296, allocations: 0 / 0.5039 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.3297, allocations: 2.625 kB / 0.5039 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.3329, allocations: 1.73 MB / 0.5056 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.333, allocations: 0 / 0.5056 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006197/0.3392, allocations: 0.8852 MB / 0.5065 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.652e-05/0.3392, allocations: 2.438 kB / 0.5065 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.3393, allocations: 19.92 kB / 0.5065 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.3394, allocations: 4.031 kB / 0.5065 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3394, allocations: 0 / 0.5065 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.3421, allocations: 1.252 MB / 0.5077 GB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.3422, allocations: 119.1 kB / 0.5078 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.3423, allocations: 18.88 kB / 0.5079 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.3429, allocations: 51.19 kB / 0.5079 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.3431, allocations: 70.56 kB / 0.508 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/0.3431, allocations: 18.19 kB / 0.508 GB, free: 21.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002515/0.3434, allocations: 256.6 kB / 0.5082 GB, free: 21.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3434, allocations: 0 / 0.5082 GB, free: 21.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004951/0.3439, allocations: 145.4 kB / 0.5084 GB, free: 21.06 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.0001345/0.344, allocations: 116.2 kB / 0.5085 GB, free: 20.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.3459, allocations: 0.7784 MB / 0.5092 GB, free: 20.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3459, allocations: 0 / 0.5092 GB, free: 20.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008727/0.3468, allocations: 408.4 kB / 0.5096 GB, free: 20.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.3474, allocations: 104.7 kB / 0.5097 GB, free: 20.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.3515, allocations: 1.889 MB / 0.5116 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.3518, allocations: 0.8587 MB / 0.5124 GB, free: 19.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/0.3522, allocations: 54.97 kB / 0.5125 GB, free: 19.48 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3522, allocations: 0 / 0.5125 GB, free: 19.48 MB / 382.1 MB Notification: Performance of Templates: time 0.01283/0.3651, allocations: 7.33 MB / 0.5196 GB, free: 17.39 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)