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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 100.3 kB / 19.72 MB, free: 1.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 209.2 kB / 23.01 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1151/0.1151, allocations: 24.03 MB / 337.2 MB, free: 11.36 MB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 65.94 kB / 474.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3611, allocations: 59.57 MB / 0.5214 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.003941/0.365, allocations: 1.764 MB / 0.5231 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004667/0.3655, allocations: 182.1 kB / 0.5233 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.3656, allocations: 1.094 kB / 0.5233 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.314e-05/0.3656, allocations: 14.25 kB / 0.5233 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.3658, allocations: 58.98 kB / 0.5234 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.366, allocations: 57.19 kB / 0.5234 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.3662, allocations: 230.9 kB / 0.5236 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.3665, allocations: 102.2 kB / 0.5237 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3666, allocations: 96.69 kB / 0.5238 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.3668, allocations: 92.64 kB / 0.5239 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.3668, allocations: 22.25 kB / 0.5239 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.433e-05/0.3669, allocations: 21.91 kB / 0.524 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.3669, allocations: 48.33 kB / 0.524 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.243e-05/0.367, allocations: 87.02 kB / 0.5241 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.3673, allocations: 218.7 kB / 0.5243 GB, free: 8.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3673, allocations: 3.938 kB / 0.5243 GB, free: 8.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3673, allocations: 0 / 0.5243 GB, free: 8.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3673, allocations: 0.9688 kB / 0.5243 GB, free: 8.66 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.0007791/0.3681, allocations: 397.7 kB / 0.5247 GB, free: 8.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3681, allocations: 11.48 kB / 0.5247 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.3682, allocations: 19.94 kB / 0.5247 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3683, allocations: 145.4 kB / 0.5248 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.3684, allocations: 50.22 kB / 0.5249 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.3685, allocations: 18.5 kB / 0.5249 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008087/0.3693, allocations: 296.7 kB / 0.5252 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3693, allocations: 0 / 0.5252 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.3693, allocations: 5.156 kB / 0.5252 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3693, allocations: 3.219 kB / 0.5252 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00072/0.37, allocations: 229.8 kB / 0.5254 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.3718, allocations: 0.8354 MB / 0.5262 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.3721, allocations: 110 kB / 0.5263 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.3721, allocations: 50.62 kB / 0.5264 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.3721, allocations: 1.719 kB / 0.5264 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.3721, allocations: 32.94 kB / 0.5264 GB, free: 7.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3721, allocations: 0 / 0.5264 GB, free: 7.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.00161/0.3738, allocations: 0.5627 MB / 0.527 GB, free: 6.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.3738, allocations: 59.73 kB / 0.527 GB, free: 6.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3739, allocations: 173.3 kB / 0.5272 GB, free: 6.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.3739, allocations: 25.7 kB / 0.5272 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.374, allocations: 121.9 kB / 0.5273 GB, free: 6.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.374, allocations: 54.83 kB / 0.5274 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.3741, allocations: 49.81 kB / 0.5274 GB, free: 6.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.3741, allocations: 331.6 kB / 0.5278 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-05/0.3742, allocations: 42.36 kB / 0.5278 GB, free: 6.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.3743, allocations: 93.77 kB / 0.5279 GB, free: 6.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/0.375, allocations: 305 kB / 0.5282 GB, free: 5.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3751, allocations: 1.312 kB / 0.5282 GB, free: 5.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002727/0.3753, allocations: 190.5 kB / 0.5284 GB, free: 5.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3753, allocations: 8.484 kB / 0.5284 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3754, allocations: 2.219 kB / 0.5284 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.3754, allocations: 2.969 kB / 0.5284 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.3756, allocations: 53.86 kB / 0.5284 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3756, allocations: 3.438 kB / 0.5284 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.3757, allocations: 6.438 kB / 0.5284 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.3757, allocations: 10.44 kB / 0.5284 GB, free: 5.852 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.0002382/0.376, allocations: 145.5 kB / 0.5286 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.376, allocations: 14 kB / 0.5286 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.376, allocations: 21.14 kB / 0.5286 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.376, allocations: 3.469 kB / 0.5286 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3761, allocations: 0 / 0.5286 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3761, allocations: 5.188 kB / 0.5286 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.3766, allocations: 429.4 kB / 0.529 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3767, allocations: 0.8906 kB / 0.529 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.3769, allocations: 43.81 kB / 0.5291 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3769, allocations: 1.062 kB / 0.5291 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3769, allocations: 5.125 kB / 0.5291 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3769, allocations: 6.078 kB / 0.5291 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3769, allocations: 1.062 kB / 0.5291 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.3772, allocations: 282.7 kB / 0.5294 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.3772, allocations: 20.84 kB / 0.5294 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.3773, allocations: 3.312 kB / 0.5294 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.995e-05/0.3774, allocations: 13 kB / 0.5294 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.3774, allocations: 8.594 kB / 0.5294 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.3774, allocations: 3.125 kB / 0.5294 GB, free: 5.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.41e-05/0.3775, allocations: 131.6 kB / 0.5295 GB, free: 5.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3775, allocations: 3.938 kB / 0.5295 GB, free: 5.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.3778, allocations: 35.34 kB / 0.5296 GB, free: 5.023 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 8.137e-05/0.3778, allocations: 100.3 kB / 0.5297 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.3781, allocations: 119.1 kB / 0.5298 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3781, allocations: 1.281 kB / 0.5298 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.3782, allocations: 50.25 kB / 0.5298 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.3785, allocations: 39.36 kB / 0.5299 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007983/0.3793, allocations: 0.5074 MB / 0.5304 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.939e-05/0.3794, allocations: 96.05 kB / 0.5304 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.446e-05/0.3794, allocations: 15.03 kB / 0.5305 GB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.3795, allocations: 20.28 kB / 0.5305 GB, free: 4.395 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3795, allocations: 0 / 0.5305 GB, free: 4.395 MB / 382.1 MB Notification: Performance of Templates: time 0.00612/0.3856, allocations: 2.029 MB / 0.5325 GB, free: 4.148 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.129199504852295] Failed to read output from testmodel.py, exit status != 0: 0.39484816417098045 0.409146523 0.038509951 Calling exit ...