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.001351/0.001351, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001519/0.001519, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.1106/0.1106, allocations: 24.11 MB / 337.3 MB, free: 11.45 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.002171/0.002171, allocations: 67.91 kB / 474.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3014, allocations: 59.6 MB / 0.5216 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002598/0.304, allocations: 1.869 MB / 0.5235 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003755/0.3043, allocations: 172.3 kB / 0.5236 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.3044, allocations: 1 kB / 0.5236 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.123e-05/0.3045, allocations: 18.45 kB / 0.5236 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.3046, allocations: 58.48 kB / 0.5237 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.3048, allocations: 58.69 kB / 0.5238 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.305, allocations: 230.2 kB / 0.524 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.3052, allocations: 95.47 kB / 0.5241 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.696e-05/0.3053, allocations: 99.83 kB / 0.5242 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.3055, allocations: 117.2 kB / 0.5243 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.3055, allocations: 22.16 kB / 0.5243 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.988e-05/0.3055, allocations: 22.03 kB / 0.5243 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.3056, allocations: 47.53 kB / 0.5244 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.3057, allocations: 91.02 kB / 0.5245 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.3059, allocations: 217.5 kB / 0.5247 GB, free: 8.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3059, allocations: 0 / 0.5247 GB, free: 8.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3059, allocations: 3.938 kB / 0.5247 GB, free: 8.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3059, allocations: 1.094 kB / 0.5247 GB, free: 8.531 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.0007326/0.3066, allocations: 402.3 kB / 0.525 GB, free: 8.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3067, allocations: 10.61 kB / 0.5251 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.3067, allocations: 22.69 kB / 0.5251 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.3068, allocations: 139 kB / 0.5252 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.3069, allocations: 50.11 kB / 0.5253 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.307, allocations: 17.8 kB / 0.5253 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007901/0.3078, allocations: 300.6 kB / 0.5256 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3078, allocations: 0 / 0.5256 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.3078, allocations: 9.906 kB / 0.5256 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3078, allocations: 2.438 kB / 0.5256 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.3085, allocations: 227.6 kB / 0.5258 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.3103, allocations: 0.9223 MB / 0.5267 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.3106, allocations: 113.3 kB / 0.5268 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.3106, allocations: 42.59 kB / 0.5268 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.3107, allocations: 1.094 kB / 0.5268 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.3107, allocations: 31.66 kB / 0.5269 GB, free: 7.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.3107, allocations: 0 / 0.5269 GB, free: 7.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001579/0.3122, allocations: 0.5623 MB / 0.5274 GB, free: 6.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.3123, allocations: 53.66 kB / 0.5275 GB, free: 6.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3124, allocations: 191 kB / 0.5277 GB, free: 6.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.3124, allocations: 26.92 kB / 0.5277 GB, free: 6.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.3125, allocations: 127.3 kB / 0.5278 GB, free: 6.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.3125, allocations: 57.69 kB / 0.5279 GB, free: 6.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.3126, allocations: 37.33 kB / 0.5279 GB, free: 6.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.377e-05/0.3126, allocations: 333.9 kB / 0.5282 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.3127, allocations: 39.48 kB / 0.5282 GB, free: 6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.869e-05/0.3128, allocations: 100.2 kB / 0.5283 GB, free: 5.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007682/0.3135, allocations: 310 kB / 0.5286 GB, free: 5.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3135, allocations: 5.219 kB / 0.5286 GB, free: 5.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002546/0.3138, allocations: 194.9 kB / 0.5288 GB, free: 5.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3138, allocations: 5.031 kB / 0.5288 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3138, allocations: 2.812 kB / 0.5288 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3138, allocations: 2.156 kB / 0.5288 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.3141, allocations: 49.25 kB / 0.5289 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3141, allocations: 8.062 kB / 0.5289 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.601e-05/0.3142, allocations: 10.47 kB / 0.5289 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.3142, allocations: 9.625 kB / 0.5289 GB, free: 5.648 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.0001904/0.3144, allocations: 138.2 kB / 0.529 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.3144, allocations: 18.81 kB / 0.5291 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.3145, allocations: 23.38 kB / 0.5291 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3145, allocations: 6.188 kB / 0.5291 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3145, allocations: 0 / 0.5291 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3145, allocations: 6.094 kB / 0.5291 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006042/0.3151, allocations: 468.8 kB / 0.5295 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3151, allocations: 0 / 0.5295 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.3153, allocations: 44.39 kB / 0.5296 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3153, allocations: 4.969 kB / 0.5296 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3153, allocations: 1.734 kB / 0.5296 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3153, allocations: 6.156 kB / 0.5296 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3153, allocations: 0 / 0.5296 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.3156, allocations: 294.4 kB / 0.5299 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.3157, allocations: 19.55 kB / 0.5299 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.3157, allocations: 6.219 kB / 0.5299 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3158, allocations: 1.156 kB / 0.5299 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.3158, allocations: 13.12 kB / 0.5299 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.3158, allocations: 11.39 kB / 0.5299 GB, free: 4.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.636e-05/0.3159, allocations: 136.4 kB / 0.5301 GB, free: 4.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3159, allocations: 0 / 0.5301 GB, free: 4.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.3162, allocations: 38.72 kB / 0.5301 GB, free: 4.777 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 6.329e-05/0.3163, allocations: 99.75 kB / 0.5302 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.3165, allocations: 115.8 kB / 0.5303 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3165, allocations: 8 kB / 0.5303 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.3166, allocations: 55.58 kB / 0.5304 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.3169, allocations: 36.14 kB / 0.5304 GB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/0.3176, allocations: 0.5245 MB / 0.5309 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.3178, allocations: 0.7155 MB / 0.5316 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.3178, allocations: 18.45 kB / 0.5316 GB, free: 3.496 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3178, allocations: 1.219 kB / 0.5316 GB, free: 3.496 MB / 382.1 MB Notification: Performance of Templates: time 0.004089/0.3219, allocations: 1.906 MB / 0.5335 GB, free: 3.344 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: 6.995184158906341] Failed to read output from testmodel.py, exit status != 0: 0.33015815797261894 0.34300951299999993 0.034079822 Calling exit ...