Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_002.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.0016/0.0016, 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.001384/0.001384, allocations: 213.3 kB / 23.01 MB, free: 5.125 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: 7.969 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.1158/0.1158, allocations: 24.12 MB / 337.3 MB, free: 11.43 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_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") translateModel(AES.Devel_test_models.Test_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") [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.002196/0.002196, allocations: 68.19 kB / 474.6 MB, free: 5.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2805, allocations: 59.6 MB / 0.5216 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002639/0.2831, allocations: 1.99 MB / 0.5236 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002882/0.2834, allocations: 148.1 kB / 0.5237 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-05/0.2835, allocations: 6.094 kB / 0.5237 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.388e-05/0.2836, allocations: 20.36 kB / 0.5238 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.2837, allocations: 63.11 kB / 0.5238 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.2838, allocations: 33.78 kB / 0.5238 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.284, allocations: 172 kB / 0.524 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2842, allocations: 65.84 kB / 0.5241 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.2843, allocations: 73.86 kB / 0.5241 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.2844, allocations: 67.88 kB / 0.5242 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.2844, allocations: 10.62 kB / 0.5242 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.793e-05/0.2845, allocations: 15.91 kB / 0.5242 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.2845, allocations: 22.89 kB / 0.5243 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.2846, allocations: 79.58 kB / 0.5243 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.2847, allocations: 151.5 kB / 0.5245 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2847, allocations: 0 / 0.5245 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2847, allocations: 0.5625 kB / 0.5245 GB, free: 8.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2847, allocations: 1.25 kB / 0.5245 GB, free: 8.625 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004609/0.2852, allocations: 370.7 kB / 0.5248 GB, free: 8.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.2853, allocations: 14.94 kB / 0.5248 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.2853, allocations: 17.06 kB / 0.5249 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.2855, allocations: 166.5 kB / 0.525 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2855, allocations: 4.781 kB / 0.525 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.2855, allocations: 10.22 kB / 0.525 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.2857, allocations: 122.2 kB / 0.5252 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2858, allocations: 192 / 0.5252 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2858, allocations: 9.031 kB / 0.5252 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2858, allocations: 2.312 kB / 0.5252 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.2859, allocations: 60.31 kB / 0.5252 GB, free: 8.004 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) * Candidate: P.port.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007436/0.2866, allocations: 0.7462 MB / 0.5259 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.2868, allocations: 50.06 kB / 0.526 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.2868, allocations: 17.69 kB / 0.526 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.2868, allocations: 9.031 kB / 0.526 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.018e-05/0.2869, allocations: 35.81 kB / 0.5261 GB, free: 7.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2869, allocations: 0 / 0.5261 GB, free: 7.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001983/0.2871, allocations: 77.48 kB / 0.5261 GB, free: 7.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.481e-05/0.2871, allocations: 51.41 kB / 0.5262 GB, free: 7.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.2872, allocations: 204.2 kB / 0.5264 GB, free: 6.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.2872, allocations: 26.77 kB / 0.5264 GB, free: 6.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.2873, allocations: 127.4 kB / 0.5265 GB, free: 6.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.2873, allocations: 6.562 kB / 0.5265 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.2873, allocations: 20.48 kB / 0.5265 GB, free: 6.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.2873, allocations: 327.2 kB / 0.5269 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.13e-05/0.2874, allocations: 12.23 kB / 0.5269 GB, free: 6.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.2874, allocations: 28.34 kB / 0.5269 GB, free: 6.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.2877, allocations: 85.53 kB / 0.527 GB, free: 6.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2877, allocations: 0 / 0.527 GB, free: 6.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001422/0.2879, allocations: 94.83 kB / 0.5271 GB, free: 6.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.2879, allocations: 4.281 kB / 0.5271 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2879, allocations: 4.938 kB / 0.5271 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2879, allocations: 1.062 kB / 0.5271 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.288, allocations: 13.83 kB / 0.5271 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.288, allocations: 1.094 kB / 0.5271 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.493e-05/0.2881, allocations: 15.75 kB / 0.5271 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.2881, allocations: 2.188 kB / 0.5271 GB, free: 6.281 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 0.0 start = header.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"fluid T\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 7 * 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 9.278e-05/0.2882, allocations: 119 kB / 0.5272 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.2883, allocations: 21.91 kB / 0.5272 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.2883, allocations: 18.3 kB / 0.5273 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2883, allocations: 1.812 kB / 0.5273 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2883, allocations: 0 / 0.5273 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2883, allocations: 0.75 kB / 0.5273 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.2885, allocations: 175.9 kB / 0.5274 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2885, allocations: 5.719 kB / 0.5274 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.954e-05/0.2886, allocations: 12.7 kB / 0.5275 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2886, allocations: 1.375 kB / 0.5275 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2886, allocations: 0.7031 kB / 0.5275 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2886, allocations: 1.125 kB / 0.5275 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2886, allocations: 4.656 kB / 0.5275 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.2888, allocations: 178.8 kB / 0.5276 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.2888, allocations: 17.11 kB / 0.5276 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.2888, allocations: 1.375 kB / 0.5276 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2889, allocations: 4.688 kB / 0.5277 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.2889, allocations: 2.781 kB / 0.5277 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2889, allocations: 4.906 kB / 0.5277 GB, free: 5.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.289, allocations: 154.2 kB / 0.5278 GB, free: 5.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.289, allocations: 0 / 0.5278 GB, free: 5.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000265/0.2893, allocations: 25.19 kB / 0.5278 GB, free: 5.672 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.T) * 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 (3): * Single equations (assignments): 3 * 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 5.971e-05/0.2894, allocations: 99.7 kB / 0.5279 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.2895, allocations: 31.47 kB / 0.528 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2895, allocations: 0 / 0.528 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.332e-05/0.2895, allocations: 16.97 kB / 0.528 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.2898, allocations: 32.52 kB / 0.528 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.2904, allocations: 378.1 kB / 0.5284 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.2905, allocations: 0.7088 MB / 0.5291 GB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.2905, allocations: 13.72 kB / 0.5291 GB, free: 4.562 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2905, allocations: 5.125 kB / 0.5291 GB, free: 4.559 MB / 382.1 MB Notification: Performance of Templates: time 0.00344/0.294, allocations: 1.659 MB / 0.5307 GB, free: 4.422 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_header_002.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & ./AES_AES.Devel_test_models.Test_header_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.314690089086071] Failed to read output from testmodel.py, exit status != 0: 0.3018792071379721 0.315079998 0.027266533000000003 Calling exit ...