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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 107.4 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 190.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1015/0.1015, allocations: 22.7 MB / 325.4 MB, free: 3.543 MB / 254.1 MB " [Timeout remaining time 180] 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=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_001") translateModel(AES.Devel_test_models.Test_stank_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 71.88 kB / 457.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1445, allocations: 58.02 MB / 0.5036 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.003297/0.1478, allocations: 1.821 MB / 0.5054 GB, free: 5.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004551/0.1483, allocations: 179.5 kB / 0.5055 GB, free: 5.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/0.1483, allocations: 4 kB / 0.5055 GB, free: 5.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.442e-05/0.1484, allocations: 15.84 kB / 0.5056 GB, free: 5.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.1485, allocations: 59.55 kB / 0.5056 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.1487, allocations: 59.91 kB / 0.5057 GB, free: 4.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.149, allocations: 235.1 kB / 0.5059 GB, free: 4.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.1492, allocations: 93.02 kB / 0.506 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1494, allocations: 103.7 kB / 0.5061 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.1495, allocations: 103.7 kB / 0.5062 GB, free: 4.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.1496, allocations: 20 kB / 0.5062 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.912e-05/0.1496, allocations: 24 kB / 0.5062 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.1497, allocations: 51.81 kB / 0.5063 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.317e-05/0.1498, allocations: 95.64 kB / 0.5064 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1501, allocations: 215.2 kB / 0.5066 GB, free: 4.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1501, allocations: 0 / 0.5066 GB, free: 4.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1501, allocations: 0 / 0.5066 GB, free: 4.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1501, allocations: 4 kB / 0.5066 GB, free: 4.062 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009663/0.151, allocations: 478.7 kB / 0.507 GB, free: 3.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1511, allocations: 8.031 kB / 0.507 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.1511, allocations: 28.78 kB / 0.5071 GB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.1514, allocations: 188.8 kB / 0.5073 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.1515, allocations: 58.38 kB / 0.5073 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.1515, allocations: 16.12 kB / 0.5073 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008974/0.1524, allocations: 297.9 kB / 0.5076 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1524, allocations: 0 / 0.5076 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.1525, allocations: 4 kB / 0.5076 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1525, allocations: 11.98 kB / 0.5076 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007947/0.1533, allocations: 219.8 kB / 0.5078 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.1554, allocations: 0.9613 MB / 0.5088 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.1557, allocations: 268.6 kB / 0.509 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/0.1558, allocations: 40.84 kB / 0.5091 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.1558, allocations: 0 / 0.5091 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1558, allocations: 34.56 kB / 0.5091 GB, free: 1.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1558, allocations: 224 / 0.5091 GB, free: 1.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001839/0.1577, allocations: 0.6375 MB / 0.5097 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.1577, allocations: 51.41 kB / 0.5098 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1579, allocations: 199.3 kB / 0.51 GB, free: 312 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1579, allocations: 25.7 kB / 0.51 GB, free: 280 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.158, allocations: 124 kB / 0.5101 GB, free: 152 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.1581, allocations: 67.47 kB / 0.5102 GB, free: 84 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.1582, allocations: 33.72 kB / 0.5102 GB, free: 44 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.2547/0.4128, allocations: 330.3 kB / 0.5105 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.4129, allocations: 36.72 kB / 0.5106 GB, free: 15.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.4131, allocations: 86.97 kB / 0.5106 GB, free: 15.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009532/0.414, allocations: 300.2 kB / 0.5109 GB, free: 15.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.414, allocations: 3.281 kB / 0.5109 GB, free: 15.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003529/0.4144, allocations: 197 kB / 0.5111 GB, free: 15.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.4144, allocations: 9.141 kB / 0.5111 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4144, allocations: 1.906 kB / 0.5111 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.4144, allocations: 7.125 kB / 0.5111 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.4147, allocations: 54.73 kB / 0.5112 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4147, allocations: 2.75 kB / 0.5112 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.4148, allocations: 6.844 kB / 0.5112 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.4148, allocations: 10.16 kB / 0.5112 GB, free: 15.75 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.0002676/0.4151, allocations: 142.5 kB / 0.5113 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.4151, allocations: 18.09 kB / 0.5114 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.4152, allocations: 24.84 kB / 0.5114 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4152, allocations: 2.953 kB / 0.5114 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4152, allocations: 1.188 kB / 0.5114 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.4152, allocations: 0.5156 kB / 0.5114 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006803/0.4159, allocations: 499.6 kB / 0.5119 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4159, allocations: 0 / 0.5119 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.4161, allocations: 47.47 kB / 0.5119 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4161, allocations: 0 / 0.5119 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.4161, allocations: 6.094 kB / 0.5119 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.4161, allocations: 0.9375 kB / 0.5119 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4161, allocations: 3.625 kB / 0.5119 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.4165, allocations: 294 kB / 0.5122 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.4165, allocations: 93.28 kB / 0.5123 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.4165, allocations: 7.625 kB / 0.5123 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.4166, allocations: 0.5938 kB / 0.5123 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.4167, allocations: 15.28 kB / 0.5123 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.4167, allocations: 2.656 kB / 0.5123 GB, free: 15.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.4168, allocations: 143.3 kB / 0.5124 GB, free: 15.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4168, allocations: 2.062 kB / 0.5124 GB, free: 15.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.4171, allocations: 35.09 kB / 0.5125 GB, free: 15.01 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.671e-05/0.4172, allocations: 97.56 kB / 0.5126 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.4175, allocations: 122.7 kB / 0.5127 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4175, allocations: 2.969 kB / 0.5127 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.4175, allocations: 51.16 kB / 0.5127 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.4179, allocations: 39.22 kB / 0.5128 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007843/0.4187, allocations: 0.496 MB / 0.5133 GB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.4188, allocations: 0.7107 MB / 0.514 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.297e-05/0.4189, allocations: 21.3 kB / 0.514 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.4189, allocations: 18.34 kB / 0.514 GB, free: 13.94 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4189, allocations: 0 / 0.514 GB, free: 13.94 MB / 382.1 MB Notification: Performance of Templates: time 0.004978/0.4239, allocations: 1.888 MB / 0.5158 GB, free: 13.84 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_stank_001.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.088413953781128] Failed to read output from testmodel.py, exit status != 0: 0.43210740108042955 0.44331115400000004 0.29079311700000005 Calling exit ...