Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.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.001364/0.001364, allocations: 80.31 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001721/0.001721, allocations: 167.4 kB / 25.61 MB, free: 8.496 MB / 18.57 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 0.9397/0.9397, allocations: 177.1 MB / 206 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09629/0.09629, allocations: 19.74 MB / 282.3 MB, free: 12.36 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 1.156 kB / 359.2 MB, free: 44.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.164e-05, allocations: 4.062 kB / 359.2 MB, free: 44.1 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2808/0.2809, allocations: 151.5 MB / 0.4987 GB, free: 10.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.2831, allocations: 2.075 MB / 0.5007 GB, free: 10.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.2834, allocations: 17.91 kB / 0.5007 GB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.2839, allocations: 281.9 kB / 0.501 GB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008867/0.2848, allocations: 0.8918 MB / 0.5019 GB, free: 10.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.2861, allocations: 1.048 MB / 0.5029 GB, free: 10.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.2872, allocations: 1.946 MB / 0.5048 GB, free: 10.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004623/0.2877, allocations: 0.6223 MB / 0.5054 GB, free: 10.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009269/0.2886, allocations: 1.081 MB / 0.5065 GB, free: 10.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.2893, allocations: 0.7645 MB / 0.5072 GB, free: 10.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.2894, allocations: 85.69 kB / 0.5073 GB, free: 10.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008346/0.2903, allocations: 0.5644 MB / 0.5078 GB, free: 10.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004935/0.2908, allocations: 0.83 MB / 0.5086 GB, free: 10.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005718/0.2913, allocations: 0.602 MB / 0.5092 GB, free: 10.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.2931, allocations: 1.858 MB / 0.511 GB, free: 10.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2931, allocations: 0.9062 kB / 0.511 GB, free: 10.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2931, allocations: 0 / 0.511 GB, free: 10.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.2931, allocations: 0 / 0.511 GB, free: 10.26 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002547/0.2956, allocations: 2.506 MB / 0.5135 GB, free: 8.922 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2957, allocations: 9.219 kB / 0.5135 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007789/0.2964, allocations: 425.5 kB / 0.5139 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.2975, allocations: 0.9934 MB / 0.5149 GB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.503e-05/0.2976, allocations: 122.3 kB / 0.515 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.2977, allocations: 100.8 kB / 0.5151 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009875/0.2987, allocations: 1.48 MB / 0.5165 GB, free: 7.082 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.2988, allocations: 7.5 kB / 0.5165 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.441e-05/0.2988, allocations: 38.69 kB / 0.5166 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.2989, allocations: 38.81 kB / 0.5166 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/0.2994, allocations: 323.9 kB / 0.5169 GB, free: 7.055 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.3035, allocations: 4.172 MB / 0.521 GB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.3039, allocations: 226.2 kB / 0.5212 GB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.304, allocations: 83.02 kB / 0.5213 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.304, allocations: 7.844 kB / 0.5213 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.304, allocations: 51.44 kB / 0.5214 GB, free: 4.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 1.773e-06/0.304, allocations: 0 / 0.5214 GB, free: 4.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001362/0.3054, allocations: 0.7861 MB / 0.5221 GB, free: 4.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.3054, allocations: 85.05 kB / 0.5222 GB, free: 4.066 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.3074, allocations: 1.961 MB / 0.5241 GB, free: 3.746 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.3074, allocations: 40.48 kB / 0.5242 GB, free: 3.715 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006615/0.3081, allocations: 1.13 MB / 0.5253 GB, free: 3.363 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/0.3082, allocations: 148.5 kB / 0.5254 GB, free: 3.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.3083, allocations: 142.3 kB / 0.5255 GB, free: 3.234 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.682e-05/0.3084, allocations: 0.503 MB / 0.526 GB, free: 2.754 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.3085, allocations: 61.78 kB / 0.5261 GB, free: 2.754 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.3088, allocations: 339 kB / 0.5264 GB, free: 2.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.3091, allocations: 448.8 kB / 0.5268 GB, free: 2.102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3091, allocations: 3.156 kB / 0.5268 GB, free: 2.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007505/0.3099, allocations: 0.5787 MB / 0.5274 GB, free: 1.957 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3099, allocations: 9 kB / 0.5274 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3099, allocations: 7.766 kB / 0.5274 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3099, allocations: 15.62 kB / 0.5274 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.3107, allocations: 216.3 kB / 0.5276 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003334/0.311, allocations: 1.805 MB / 0.5294 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.3114, allocations: 24.62 kB / 0.5294 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.3115, allocations: 30.8 kB / 0.5295 GB, free: 148 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002518/0.3117, allocations: 205.4 kB / 0.5297 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.312, allocations: 205.4 kB / 0.5299 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.3125, allocations: 368.6 kB / 0.5302 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3125, allocations: 6.172 kB / 0.5302 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3125, allocations: 0 / 0.5302 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3125, allocations: 9.766 kB / 0.5302 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.3141, allocations: 1.29 MB / 0.5315 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3141, allocations: 1.219 kB / 0.5315 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.3146, allocations: 133 kB / 0.5316 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.3146, allocations: 3.219 kB / 0.5316 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.3147, allocations: 14.77 kB / 0.5316 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006144/0.3153, allocations: 1.79 MB / 0.5334 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.3153, allocations: 2.703 kB / 0.5334 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006999/0.316, allocations: 0.6243 MB / 0.534 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/0.3164, allocations: 235.7 kB / 0.5342 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.3165, allocations: 13.8 kB / 0.5342 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.3169, allocations: 34.61 kB / 0.5343 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.317, allocations: 25.2 kB / 0.5343 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.317, allocations: 24.91 kB / 0.5343 GB, free: 13.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001097/0.3181, allocations: 1.105 MB / 0.5354 GB, free: 12.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3181, allocations: 0 / 0.5354 GB, free: 12.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007836/0.3189, allocations: 325.7 kB / 0.5357 GB, free: 12.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/0.3201, allocations: 0.5142 MB / 0.5362 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004604/0.3206, allocations: 284.9 kB / 0.5365 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3206, allocations: 0.5 kB / 0.5365 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.3207, allocations: 125.5 kB / 0.5366 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.3218, allocations: 319.2 kB / 0.5369 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.3254, allocations: 2.958 MB / 0.5398 GB, free: 11.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3257, allocations: 402.8 kB / 0.5402 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004884/0.3262, allocations: 180.1 kB / 0.5403 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008916/0.3271, allocations: 486.9 kB / 0.5408 GB, free: 11.24 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3271, allocations: 0 / 0.5408 GB, free: 11.24 MB / 426.7 MB Notification: Performance of Templates: time 0.0321/0.3592, allocations: 21.75 MB / 0.562 GB, free: 3.441 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7613291409797966]